Borderou de evaluare (job #1814713)

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

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 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 long int*’ [-Wformat=] user.cpp:18:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:20:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long 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 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
10ms444kbOK1030
20ms456kbOK10
30ms504kbOK10
428ms1224kbOK1030
548ms1712kbOK10
652ms1864kbOK10
764ms2008kbOK1010
860ms2000kbOK1010
960ms2004kbOK1010
1064ms2008kbOK1010
Punctaj total100

Ceva nu functioneaza?