Pagini recente » Borderou de evaluare (job #2747579) | Borderou de evaluare (job #589467) | Borderou de evaluare (job #584960) | Borderou de evaluare (job #2297112) | Borderou de evaluare (job #2297206)
Borderou de evaluare (job #2297206)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:4:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
#define For(i,a,b) for(i=a;i<=b;i++)
^
main.cpp:13:5: note: in expansion of macro 'For'
For(i,1,n)
^~~
main.cpp:15:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
p[0]=Infinity;
^
main.cpp:12:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %lld",&n,&s);
^
main.cpp:14:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&p[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 10 | 0 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 2ms | 131kb | OK | 10 |
| 6 | 5ms | 262kb | OK | 10 |
| 7 | 5ms | 131kb | OK | 10 |
| 8 | 34ms | 917kb | Incorect | 0 |
| 9 | 26ms | 917kb | OK | 10 |
| 10 | 25ms | 917kb | OK | 10 |
| Punctaj total | 0 |