Pagini recente » Borderou de evaluare (job #1964339) | Borderou de evaluare (job #2185304) | Borderou de evaluare (job #1408528) | Borderou de evaluare (job #886344) | Borderou de evaluare (job #2269574)
Borderou de evaluare (job #2269574)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(v[i]>max)
^~
main.cpp:18:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
s+=v[i];
^
main.cpp:8:38: warning: unused variable 'm' [-Wunused-variable]
int s,s1,max,st,dr,sir,k,i,mij,n,m;
^
main.cpp:11:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&k);
^
main.cpp:15:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 3ms | 131kb | OK | 10 |
| 5 | 5ms | 131kb | OK | 10 |
| 6 | 6ms | 131kb | Incorect | 0 |
| 7 | 7ms | 131kb | Incorect | 0 |
| 8 | 8ms | 131kb | OK | 10 |
| 9 | 9ms | 131kb | OK | 10 |
| 10 | 8ms | 131kb | OK | 10 |
| Punctaj total | 80 |