Borderou de evaluare (job #1768973)

Utilizator killer301Ioan Andrei Nicolae killer301 Data 1 octombrie 2016 19:25:25
Problema Grazing Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In member function ‘void HN::print()’: user.cpp:77:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘LL {aka long long int}’ [-Wformat=] printf("%d", a[n-1]); ^ user.cpp:79:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘LL {aka long long int}’ [-Wformat=] printf("%09d", a[i]); ^ user.cpp: In function ‘int main()’: user.cpp:90:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("grazing.in", "r", stdin); ^ user.cpp:91:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("grazing.out", "w", stdout); ^ user.cpp:93:20: 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
10ms1048kbOK10
20ms1048kbOK10
30ms1052kbOK10
420ms1052kbOK10
536ms1052kbOK10
6128ms1056kbOK10
7232ms1056kbOK10
8Depăşit1024kbTime limit exceeded.0
9Depăşit1020kbTime limit exceeded.0
100ms1052kbOK10
Punctaj total80

Ceva nu functioneaza?