Pagini recente » Borderou de evaluare (job #3290273) | Borderou de evaluare (job #2980019) | Borderou de evaluare (job #2027904) | Borderou de evaluare (job #1903914) | Borderou de evaluare (job #2361063)
Borderou de evaluare (job #2361063)
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::ifstream("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::ifstream("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:227: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main(int a){std::ifstream("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:227: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cpp:2:227: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cpp:2:227: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cpp:2:227: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cpp:2:227: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cpp:2:227: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cpp:2:227: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
main.cpp:2:227: 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 |