Borderou de evaluare (job #1558754)

Utilizator ManDark97Melinte Tudor-Matei ManDark97 Data 29 decembrie 2015 15:58:29
Problema K1 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:102:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:105:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &nod[i].v); ^ user.cpp:100:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("k1.in", "r", stdin); ^ user.cpp:101:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("k1.out", "w", stdout); ^ user.cpp:102:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:105:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nod[i].v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbOK10
20ms304kbOK10
30ms304kbOK10
44ms812kbOK10
5Depăşit2212kbTime limit exceeded.0
6Depăşit15892kbTime limit exceeded.0
7Depăşit17836kbTime limit exceeded.0
8Depăşit17840kbTime limit exceeded.0
9Depăşit19800kbTime limit exceeded.0
100ms304kbOK10
Punctaj total50

Ceva nu functioneaza?