Borderou de evaluare (job #1884375)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 18 februarie 2017 18:08:51
Problema Progresii2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", sol); ^ user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("progresii2.in","r",stdin); ^ user.cpp:10:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("progresii2.out","w",stdout); ^ user.cpp:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^ user.cpp:13:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &v, &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
240ms260kbOK10
336ms264kbOK10
4Depăşit232kbTime limit exceeded.0
5Depăşit236kbTime limit exceeded.0
6Depăşit232kbTime limit exceeded.0
7Depăşit256kbTime limit exceeded.0
8Depăşit236kbTime limit exceeded.0
9Depăşit252kbTime limit exceeded.0
10Depăşit240kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?