Pagini recente » Borderou de evaluare (job #1991731) | Borderou de evaluare (job #1119970) | Borderou de evaluare (job #3188667) | Borderou de evaluare (job #2306590) | Borderou de evaluare (job #2306568)
Borderou de evaluare (job #2306568)
Raport evaluator
Compilare:
main.cpp: In function 'int C(int, int, int)':
main.cpp:9:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=p;j<r;j++)
^~~
main.cpp:15:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if(l+1!=r&&a[l+1]!=a[r])
^~
main.cpp: In function 'int main()':
main.cpp:20:87: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sdo.in","r",stdin),freopen("sdo.out","w",stdout),scanf("%d%d%d",&n,&k,&a[1]);
^
main.cpp:20:87: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:20:87: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:22:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 10 | 10 |
| 2 | 51ms | 524kb | OK | 10 | 10 |
| 3 | 33ms | 393kb | OK | 10 | 10 |
| 4 | 40ms | 393kb | OK | 10 | 10 |
| 5 | 76ms | 655kb | OK | 10 | 10 |
| 6 | 977ms | 10092kb | OK | 10 | 10 |
| 7 | 1021ms | 10092kb | OK | 10 | 10 |
| 8 | 972ms | 10092kb | OK | 10 | 0 |
| 9 | 1203ms | 10878kb | Time limit exceeded | 0 |
| 10 | 1198ms | 12058kb | OK | 10 |
| Punctaj total | 70 |