版本比较
题解:UVA701 The Archeologists' Dilemma
正文
增加 2 行删除 2 行
52 行未改动53545556575859606115 行未改动7778798081828384852 行未改动52 行未改动```cpp#include<bits/stdc++.h>using namespace std;#define int long longbool check(int x,int n){string s=to_string(x);string s1=to_string(n);int w=0;15 行未改动int n;while(cin>>n){int i;for(i=1;!check(pow_my(i),n);++i){}cout<<i<<"\n";}return 0;2 行未改动52 行未改动53545556575859606115 行未改动7778798081828384852 行未改动52 行未改动```cpp#include<bits/stdc++.h>using namespace std;#define int long longbool check(int x,int n){string s=to_string(x);string s1=to_string(n);int w=0;15 行未改动int n;while(cin>>n){int i;for(i=1;!check(pow_my(i),n);++i){}cout<<i<<"\n";}return 0;2 行未改动