Borderou de evaluare (job #1688413)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 13 aprilie 2016 14:47:14
Problema Rotatii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:128:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(type==2) ^ user.cpp:107:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rotatii.in","r",stdin); ^ user.cpp:108:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rotatii.out","w",stdout); ^ user.cpp:113:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:115:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&value); ^ user.cpp:119:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&type); ^ user.cpp:121:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&index,&value); ^ user.cpp:125:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&index); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbKilled by signal 11(SIGSEGV).0
20ms244kbKilled by signal 11(SIGSEGV).0
30ms244kbKilled by signal 11(SIGSEGV).0
40ms248kbKilled by signal 11(SIGSEGV).0
50ms248kbKilled by signal 11(SIGSEGV).0
60ms244kbKilled by signal 11(SIGSEGV).0
70ms244kbKilled by signal 11(SIGSEGV).0
80ms244kbKilled by signal 11(SIGSEGV).0
90ms244kbKilled by signal 11(SIGSEGV).0
100ms244kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?