Borderou de evaluare (job #2243341)

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

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ăşit804kbTime limit exceeded.0
2Depăşit880kbTime limit exceeded.0
3Depăşit800kbTime limit exceeded.0
44ms936kbOK5
50ms864kbOK5
64ms856kbOK5
7Depăşit804kbTime limit exceeded.0
8308ms792kbOK5
9Depăşit752kbTime limit exceeded.0
10Depăşit808kbTime limit exceeded.0
11Depăşit792kbTime limit exceeded.0
12Depăşit800kbTime limit exceeded.0
13Depăşit804kbTime limit exceeded.0
14Depăşit864kbTime limit exceeded.0
15Depăşit752kbTime limit exceeded.0
16Depăşit868kbTime limit exceeded.0
17Depăşit752kbTime limit exceeded.0
18Depăşit860kbTime limit exceeded.0
19Depăşit864kbTime limit exceeded.0
20Depăşit796kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?