Borderou de evaluare (job #1577580)

Utilizator killer301Ioan Andrei Nicolae killer301 Data 23 ianuarie 2016 16:14:16
Problema Complet Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:109:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d", &q[i].t, &q[i].p); ^ user.cpp:91:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("complet.in", "r", stdin); ^ user.cpp:92:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("complet.out", "w", stdout); ^ user.cpp:94:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &Q); ^ user.cpp:97:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ user.cpp:106:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &z); ^ user.cpp:109:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &q[i].t, &q[i].p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbKilled by signal 11(SIGSEGV).0
20ms256kbKilled by signal 11(SIGSEGV).0
34ms316kbKilled by signal 11(SIGSEGV).0
48ms336kbKilled by signal 11(SIGSEGV).0
516ms428kbKilled by signal 11(SIGSEGV).0
624ms492kbKilled by signal 11(SIGSEGV).0
728ms548kbKilled by signal 11(SIGSEGV).0
832ms580kbKilled by signal 11(SIGSEGV).0
932ms624kbKilled by signal 11(SIGSEGV).0
1036ms624kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?