Borderou de evaluare (job #1935546)

Utilizator NicusorTelescu Nicolae Nicusor Data 22 martie 2017 15:06:14
Problema Long Story Short Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d\n",&k,&p); ^ user.cpp:19:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:16:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lss.in","r",stdin); ^ user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lss.out","w",stdout); ^ user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&k,&p); ^ user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit236kbTime limit exceeded.0
2Depăşit236kbTime limit exceeded.0
3Depăşit240kbTime limit exceeded.0
4Depăşit240kbTime limit exceeded.0
5Depăşit620kbTime limit exceeded.0
6Depăşit620kbTime limit exceeded.0
7Depăşit616kbTime limit exceeded.0
8Depăşit616kbTime limit exceeded.0
9Depăşit620kbTime limit exceeded.0
10Depăşit616kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?