Borderou de evaluare (job #1918901)

Utilizator dago28Stoican Dragos dago28 Data 9 martie 2017 17:16:27
Problema Timp Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d",&n,&k); ^ user.cpp:18:9: warning: unused variable ‘aux’ [-Wunused-variable] int aux=0; ^ user.cpp:14:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("timp.in","r",stdin); ^ user.cpp:15:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("timp.out","w",stdout); ^ user.cpp:17:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit24084kbTime limit exceeded.0
2Depăşit22908kbTime limit exceeded.0
3Depăşit24076kbTime limit exceeded.0
4Depăşit23652kbTime limit exceeded.0
5Depăşit22904kbTime limit exceeded.0
6Depăşit22900kbTime limit exceeded.0
7Depăşit22892kbTime limit exceeded.0
8Depăşit22908kbTime limit exceeded.0
9Depăşit22908kbTime limit exceeded.0
10Depăşit22912kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?