Pagini recente » Borderou de evaluare (job #1811426) | Borderou de evaluare (job #1222136) | Borderou de evaluare (job #1322935) | Borderou de evaluare (job #1752643) | Borderou de evaluare (job #2694927)
Borderou de evaluare (job #2694927)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=i+1;j<=n;j++)
^~~
main.cpp:26:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
val[i] = maxim+1;
^~~
main.cpp:12:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("scmax.in","r",stdin);
^
main.cpp:13:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("scmax.out","w",stdout);
^
main.cpp:14:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:16:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 131kb | Lungime incorecta! | 0 | 0 |
2 | 7ms | 131kb | Subsir incorect! | 5 | 5 |
3 | 3ms | 131kb | Lungime incorecta! | 0 | 0 |
4 | 4ms | 131kb | Lungime incorecta! | 0 | 0 |
5 | 4ms | 131kb | Lungime incorecta! | 0 | 0 |
6 | 5ms | 131kb | Lungime incorecta! | 0 | 0 |
7 | 6ms | 131kb | Lungime incorecta! | 0 | 0 |
8 | 301ms | 655kb | Time limit exceeded | 0 | 0 |
9 | 300ms | 655kb | Time limit exceeded | 0 |
10 | 301ms | 655kb | Time limit exceeded | 0 |
Punctaj total | 5 |