Borderou de evaluare (job #1871721)

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

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
14ms536kbOK10
20ms532kbOK10
34ms508kbOK10
4Depăşit456kbTime limit exceeded.0
5Depăşit452kbTime limit exceeded.0
6Depăşit400kbTime limit exceeded.0
7Depăşit400kbTime limit exceeded.0
8Depăşit440kbTime limit exceeded.0
9Depăşit408kbTime limit exceeded.0
10Depăşit400kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?