Borderou de evaluare (job #1997718)

Utilizator IulianaBinzarIuliana Binzar IulianaBinzar Data 5 iulie 2017 10:58:49
Problema Politic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("politic.in","r",stdin); ^ user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("politic.out","w",stdout); ^ user.cpp:14:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:18:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:22:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbRaspuns corect10
20ms468kbRaspuns corect10
30ms484kbRaspuns corect10
40ms916kbRaspuns corect10
512ms924kbWall time limit exceeded.0
616ms916kbKilled by signal 11(SIGSEGV).0
74ms416kbWall time limit exceeded.0
816ms916kbKilled by signal 11(SIGSEGV).0
94ms416kbWall time limit exceeded.0
104ms440kbRaspuns corect10
Punctaj total50

Ceva nu functioneaza?