Pagini recente » Borderou de evaluare (job #236139) | Borderou de evaluare (job #508844) | Borderou de evaluare (job #1532506) | Borderou de evaluare (job #1936278) | Borderou de evaluare (job #2367513)
Borderou de evaluare (job #2367513)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=S;i++)if(x[1]<=i && i<=y[1])temp[i]=S-i; for(i=S;i<=M;i++)if(x[1]<=i && i<=y[1])temp[i]=i-S;
^~~
main.cpp:10:57: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=1;i<=S;i++)if(x[1]<=i && i<=y[1])temp[i]=S-i; for(i=S;i<=M;i++)if(x[1]<=i && i<=y[1])temp[i]=i-S;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 4ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 4ms | 131kb | OK | 10 |
7 | 4ms | 131kb | OK | 10 |
8 | 26ms | 655kb | OK | 10 |
9 | 46ms | 1703kb | OK | 10 |
10 | 33ms | 917kb | OK | 10 |
Punctaj total | 100 |