Pagini recente » Borderou de evaluare (job #1282193) | Borderou de evaluare (job #224494) | Borderou de evaluare (job #891476) | Borderou de evaluare (job #2961012) | Borderou de evaluare (job #2269578)
Borderou de evaluare (job #2269578)
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:43: warning: unused variable 'm' [-Wunused-variable]
int s,s1,max,st,dr,sir,k,i,mij,elem,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 | OK | 10 |
7 | 7ms | 131kb | OK | 10 |
8 | 8ms | 131kb | OK | 10 |
9 | 8ms | 131kb | OK | 10 |
10 | 8ms | 131kb | OK | 10 |
Punctaj total | 100 |