Borderou de evaluare (job #1226212)

Utilizator czlateaZlatea Cezar czlatea Data 4 septembrie 2014 19:41:51
Problema Lant Aditiv Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:14:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n",i); ^ user.cpp:17:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d ",k); ^ user.cpp:5:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lantaditiv.in","r",stdin); ^ user.cpp:6:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lantaditiv.out","w",stdout); ^ user.cpp:8:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbRaspuns gresit!0
20ms244kbRaspuns gresit!0
30ms248kbRaspuns gresit!0
412ms244kbRaspuns gresit!0
5Depăşit244kbTime limit exceeded.0
6Depăşit244kbTime limit exceeded.0
7Depăşit224kbTime limit exceeded.0
8Depăşit228kbTime limit exceeded.0
9Depăşit224kbTime limit exceeded.0
10Depăşit224kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?