Borderou de evaluare (job #1814712)

Utilizator B_RazvanBaboiu Razvan B_Razvan Data 24 noiembrie 2016 13:49:01
Problema Branza Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:18:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d%d", &n, &s, &t); ^ user.cpp:18:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:18:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:20:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d", &sapt[i].c, &sapt[i].p); ^ user.cpp:20:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:18:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &s, &t); ^ user.cpp:20:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &sapt[i].c, &sapt[i].p); ^ user.cpp: In function ‘int main()’: user.cpp:48:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("branza.in", "r", stdin); ^ user.cpp:49:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("branza.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms424kbOK100
20ms432kbOK10
30ms456kbIncorect0
432ms820kbIncorect00
544ms1056kbIncorect0
652ms1140kbIncorect0
756ms1204kbIncorect00
856ms1204kbIncorect00
956ms1208kbIncorect00
1056ms1204kbIncorect00
Punctaj total0

Ceva nu functioneaza?