Borderou de evaluare (job #1488701)

Utilizator Theodor1000Cristea Theodor Stefan Theodor1000 Data 19 septembrie 2015 16:18:20
Problema Hercule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:68:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf ("%d\n", c); ^ user.cpp:74:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf ("%d ", n); ^ user.cpp:78:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf ("%d ", i); ^ user.cpp:20:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("hercule.in", "r", stdin); ^ user.cpp:21:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("hercule.out", "w", stdout); ^ user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%lld", &t); ^ user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%lld", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
180ms292kbOK20
288ms288kbOK20
380ms288kbOK20
480ms284kbOK20
580ms288kbOK20
Punctaj total100

Ceva nu functioneaza?