Pagini recente » Borderou de evaluare (job #1001165) | Borderou de evaluare (job #1319124) | Borderou de evaluare (job #748324) | Borderou de evaluare (job #2913544) | Borderou de evaluare (job #2264579)
Borderou de evaluare (job #2264579)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(i-w.front()>=k)
^~
main.cpp:33:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
int xx=a[w.front()];
^~~
main.cpp:33:13: warning: unused variable 'xx' [-Wunused-variable]
int xx=a[w.front()];
^~
main.cpp:34:13: warning: unused variable 'yy' [-Wunused-variable]
int yy=a[d.front()];
^~
main.cpp:12:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d%d",&n,&x,&y,&z);
^
main.cpp:13:38: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++)fscanf(f,"%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 131kb | OK | 5 |
| 2 | 4ms | 131kb | Incorect | 0 |
| 3 | 4ms | 131kb | OK | 5 |
| 4 | 4ms | 131kb | Incorect | 0 |
| 5 | 7ms | 131kb | OK | 5 |
| 6 | 7ms | 131kb | OK | 5 |
| 7 | 16ms | 249kb | OK | 5 |
| 8 | 21ms | 258kb | OK | 5 |
| 9 | 31ms | 253kb | OK | 5 |
| 10 | 46ms | 380kb | OK | 5 |
| 11 | 55ms | 380kb | OK | 5 |
| 12 | 61ms | 385kb | OK | 5 |
| 13 | 65ms | 397kb | OK | 5 |
| 14 | 80ms | 507kb | OK | 5 |
| 15 | 85ms | 512kb | OK | 5 |
| 16 | 90ms | 512kb | OK | 5 |
| 17 | 11ms | 225kb | OK | 5 |
| 18 | 80ms | 512kb | OK | 5 |
| 19 | 85ms | 516kb | OK | 5 |
| 20 | 90ms | 512kb | OK | 5 |
| Punctaj total | 90 |