Borderou de evaluare (job #2232501)

Utilizator Mada2003Madalina Scarlat Mada2003 Data 19 august 2018 18:51:11
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void dinamic()’: user.cpp:40:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(i = 1; i <= powmax; i *= 2) ^~~ user.cpp:43:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ a[0] = -32000; ^ user.cpp: In function ‘void read()’: user.cpp:19:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &l); ^ user.cpp:23:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &h[i][j]); ^ user.cpp:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:27:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &cost[i]); ^ user.cpp: In function ‘int main()’: user.cpp:64:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sobo.in", "r", stdin); ^ user.cpp:65:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sobo.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms804kbCool!10
20ms860kbCool!10
30ms872kbCool!10
452ms864kbCool!10
572ms812kbCool!10
6284ms868kbCool!10
7632ms792kbCool!10
8Depăşit816kbTime limit exceeded.0
9Depăşit864kbTime limit exceeded.0
10Depăşit876kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?