Pagini recente » Borderou de evaluare (job #1532341) | Borderou de evaluare (job #409854) | Cod sursa (job #2881088) | Cod sursa (job #932903) | Borderou de evaluare (job #2243335)
Borderou de evaluare (job #2243335)
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 |
1 | Depăşit | 868kb | Time limit exceeded. | 0 |
2 | Depăşit | 876kb | Time limit exceeded. | 0 |
3 | Depăşit | 808kb | Time limit exceeded. | 0 |
4 | 4ms | 876kb | OK | 5 |
5 | 0ms | 752kb | OK | 5 |
6 | 4ms | 800kb | OK | 5 |
7 | Depăşit | 860kb | Time limit exceeded. | 0 |
8 | 212ms | 808kb | OK | 5 |
9 | Depăşit | 800kb | Time limit exceeded. | 0 |
10 | Depăşit | 756kb | Time limit exceeded. | 0 |
11 | Depăşit | 812kb | Time limit exceeded. | 0 |
12 | Depăşit | 876kb | Time limit exceeded. | 0 |
13 | 516ms | 860kb | OK | 5 |
14 | Depăşit | 864kb | Time limit exceeded. | 0 |
15 | 412ms | 860kb | OK | 5 |
16 | Depăşit | 936kb | Time limit exceeded. | 0 |
17 | Depăşit | 880kb | Time limit exceeded. | 0 |
18 | Depăşit | 756kb | Time limit exceeded. | 0 |
19 | Depăşit | 808kb | Time limit exceeded. | 0 |
20 | Depăşit | 796kb | Time limit exceeded. | 0 |
Punctaj total | 30 |