Borderou de evaluare (job #2243335)

Utilizator Laura_CorneiLaura Maria Cornei Laura_Cornei Data 20 septembrie 2018 12:27:54
Problema Pod Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:69:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(i=1; i<k; i++) dp[i]=0; dp[k]=1; ^~~ user.cpp:69:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ for(i=1; i<k; i++) dp[i]=0; dp[k]=1; ^~ user.cpp:57:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pod.in", "r", stdin); ^ user.cpp:58:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pod.out", "w", stdout); ^ user.cpp:61:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n, &m, &k); ^ user.cpp:63:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &poz[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit868kbTime limit exceeded.0
2Depăşit876kbTime limit exceeded.0
3Depăşit808kbTime limit exceeded.0
44ms876kbOK5
50ms752kbOK5
64ms800kbOK5
7Depăşit860kbTime limit exceeded.0
8212ms808kbOK5
9Depăşit800kbTime limit exceeded.0
10Depăşit756kbTime limit exceeded.0
11Depăşit812kbTime limit exceeded.0
12Depăşit876kbTime limit exceeded.0
13516ms860kbOK5
14Depăşit864kbTime limit exceeded.0
15412ms860kbOK5
16Depăşit936kbTime limit exceeded.0
17Depăşit880kbTime limit exceeded.0
18Depăşit756kbTime limit exceeded.0
19Depăşit808kbTime limit exceeded.0
20Depăşit796kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?