Pagini recente » Borderou de evaluare (job #2887179) | Borderou de evaluare (job #2043577) | Borderou de evaluare (job #1443755) | Borderou de evaluare (job #1566050) | Borderou de evaluare (job #2360891)
Borderou de evaluare (job #2360891)
Raport evaluator
Compilare:
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
#import<fstream>
^~~~~~
main.cpp:2:11: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main(int a){std::fstream("random.in")>>a;std::ofstream("random.out")<<(char*[]){"Robert Tarjan","Leslie Valiant","Alexander Razborov","Avi Wigderson","Peter Shor","Madhu Sudan","Jon Kleinberg","Daniel Spielman","Subhash Khot"}[a/4-495];}
^
main.cpp:2:1: warning: 'int main(int)' takes only zero or two arguments [-Wmain]
main(int a){std::fstream("random.in")>>a;std::ofstream("random.out")<<(char*[]){"Robert Tarjan","Leslie Valiant","Alexander Razborov","Avi Wigderson","Peter Shor","Madhu Sudan","Jon Kleinberg","Daniel Spielman","Subhash Khot"}[a/4-495];}
^~~~
main.cpp: In function 'int main(int)':
main.cpp:2:226: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main(int a){std::fstream("random.in")>>a;std::ofstream("random.out")<<(char*[]){"Robert Tarjan","Leslie Valiant","Alexander Razborov","Avi Wigderson","Peter Shor","Madhu Sudan","Jon Kleinberg","Daniel Spielman","Subhash Khot"}[a/4-495];}
^
main.cpp:2:226: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cpp:2:226: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cpp:2:226: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cpp:2:226: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cpp:2:226: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cpp:2:226: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cpp:2:226: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cpp:2:226: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 |
8 | 2ms | 131kb | OK | 10 |
9 | 2ms | 131kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |