Pagini recente » Borderou de evaluare (job #2603257) | Borderou de evaluare (job #2387968) | Borderou de evaluare (job #2195430) | Borderou de evaluare (job #919885) | Borderou de evaluare (job #2369179)
Borderou de evaluare (job #2369179)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=m;i++) for(j=1;j<=n;j++) fscanf(fi,"%d",&a[i][j]); fclose(fi);
^~~
main.cpp:10:63: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=1;i<=m;i++) for(j=1;j<=n;j++) fscanf(fi,"%d",&a[i][j]); fclose(fi);
^~~~~~
main.cpp:9:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d %d",&m,&n,&k);
^
main.cpp:10:61: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=m;i++) for(j=1;j<=n;j++) fscanf(fi,"%d",&a[i][j]); fclose(fi);
^
main.cpp:18:49: warning: 'np' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(s<min) {min=s; np=1;} else if(s==min) np++; }
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 262kb | OK | 10 |
4 | 4ms | 262kb | OK | 10 |
5 | 10ms | 393kb | OK | 10 |
6 | 13ms | 524kb | OK | 10 |
7 | 33ms | 917kb | OK | 10 |
8 | 24ms | 524kb | OK | 10 |
9 | 28ms | 524kb | OK | 10 |
10 | 99ms | 917kb | OK | 10 |
Punctaj total | 100 |