Pagini recente » Borderou de evaluare (job #2621368) | Borderou de evaluare (job #450080) | Borderou de evaluare (job #2464346) | Borderou de evaluare (job #2941650) | Borderou de evaluare (job #2859880)
Borderou de evaluare (job #2859880)
Raport evaluator
Compilare:
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
1 | #import<fstream>
| ^~~~~~
main.cpp:2:69: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | using namespace std;ifstream fin("nim.in");ofstream fout("nim.out");main(){int t,n,x,a;fin>>t;while(t--){fin>>n;x=0;while(n--)fin>>a,x^=a;if(x)fout<<"DA\n";else fout << "NU\n";}}
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 6ms | 200kb | OK | 10 |
6 | 11ms | 200kb | OK | 10 |
7 | 64ms | 200kb | OK | 10 |
8 | 93ms | 200kb | OK | 10 |
9 | 146ms | 200kb | OK | 10 |
10 | 156ms | 212kb | OK | 10 |
Punctaj total | 100 |