Borderou de evaluare (job #1382410)

Utilizator handsonthewheelSandel Georgel handsonthewheel Data 8 martie 2015 22:46:56
Problema Purice2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("purice2.in", "r", stdin); ^ user.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("purice2.out", "w", stdout); ^ user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d",&t); ^ user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:13:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (i=1;i<=n;i++) scanf ("%d", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbIncorect0
20ms252kbIncorect0
30ms252kbIncorect0
40ms252kbKilled by signal 11(SIGSEGV).0
50ms252kbKilled by signal 11(SIGSEGV).0
60ms248kbKilled by signal 11(SIGSEGV).0
70ms252kbKilled by signal 11(SIGSEGV).0
80ms252kbKilled by signal 11(SIGSEGV).0
90ms248kbKilled by signal 11(SIGSEGV).0
100ms248kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?