Borderou de evaluare (job #1470230)

Utilizator gabrielinelusGabriel-Robert Inelus gabrielinelus Data 10 august 2015 16:16:56
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&timp[i],&kap[i]); ^ user.cpp:32:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:26:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zmeu2.in","r",stdin); ^ user.cpp:27:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zmeu2.out","w",stdout); ^ user.cpp:29:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&N,&P,&K); ^ user.cpp:32:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&timp[i],&kap[i]); ^ user.cpp:36:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbKilled by signal 11(SIGSEGV).0
20ms272kbIncorect0
3Depăşit304kbTime limit exceeded.0
4Depăşit244kbTime limit exceeded.0
512ms268kbKilled by signal 11(SIGSEGV).0
60ms244kbKilled by signal 11(SIGSEGV).0
74ms252kbKilled by signal 11(SIGSEGV).0
80ms244kbKilled by signal 11(SIGSEGV).0
960ms272kbKilled by signal 11(SIGSEGV).0
10Depăşit280kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?