Borderou de evaluare (job #1371430)

Utilizator Mihai22eMihai Ionut Enache Mihai22e Data 3 martie 2015 21:27:26
Problema Arbore3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:52:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", ans); ^ user.cpp:34:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arbore3.in", "r", stdin); ^ user.cpp:35:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arbore3.out", "w", stdout); ^ user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &S); ^ user.cpp:41:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &val[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms11992kbOK10
216ms12036kbOK10
380ms13828kbOK10
4732ms26492kbOK10
5Depăşit41548kbTime limit exceeded.0
6Depăşit46816kbTime limit exceeded.0
7Depăşit46276kbTime limit exceeded.0
8Depăşit47780kbTime limit exceeded.0
9Depăşit49188kbTime limit exceeded.0
10Depăşit49016kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?