Borderou de evaluare (job #1556332)

Utilizator ManDark97Melinte Tudor-Matei ManDark97 Data 24 decembrie 2015 16:49:28
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:67:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:70: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:65: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:66: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:67:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:70: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
10ms284kbOK10
20ms284kbOK10
30ms284kbOK10
44ms792kbOK10
5Depăşit2200kbTime limit exceeded.0
6Depăşit15876kbTime limit exceeded.0
7Depăşit17820kbTime limit exceeded.0
8Depăşit17836kbTime limit exceeded.0
9Depăşit19784kbTime limit exceeded.0
100ms284kbOK10
Punctaj total50

Ceva nu functioneaza?