Borderou de evaluare (job #1517397)

Utilizator Eugen_VlasieFMI Vlasie Eugen Eugen_Vlasie Data 4 noiembrie 2015 10:47:56
Problema Chiftea Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&t); ^ user.cpp:34:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:38:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",nr); ^ user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("chiftea.in","r",stdin); ^ user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("chiftea.out","w",stdout); ^ user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:34:23: 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
1Depăşit640kbTime limit exceeded.0
2Depăşit636kbTime limit exceeded.0
3Depăşit636kbTime limit exceeded.0
4Depăşit628kbTime limit exceeded.0
5Depăşit640kbTime limit exceeded.0
6Depăşit632kbTime limit exceeded.0
7Depăşit640kbTime limit exceeded.0
8Depăşit632kbTime limit exceeded.0
9Depăşit632kbTime limit exceeded.0
10Depăşit632kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?