Borderou de evaluare (job #1871718)

Utilizator jason2013Andronache Riccardo jason2013 Data 7 februarie 2017 16:54:11
Problema Numar2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numar2.in", "r", stdin); ^ user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numar2.out", "w", stdout); ^ user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:14:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= N; i++) scanf("%d", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK10
24ms516kbKilled by signal 11(SIGSEGV).0
30ms448kbIncorect0
4Depăşit444kbTime limit exceeded.0
5Depăşit444kbTime limit exceeded.0
6Depăşit400kbTime limit exceeded.0
7Depăşit404kbTime limit exceeded.0
8Depăşit432kbTime limit exceeded.0
9Depăşit400kbTime limit exceeded.0
10Depăşit400kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?