Pagini recente » Borderou de evaluare (job #1353004) | Borderou de evaluare (job #450937) | Borderou de evaluare (job #1529870) | Borderou de evaluare (job #1322937) | Borderou de evaluare (job #1543642)
Borderou de evaluare (job #1543642)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<=k; i++) if(maxim[i]<minim[n-i+1] && k<=aux) swap(maxim[i],minim[n-i+1]);
^
user.cpp:33:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
fprintf(g,"%d",sum);
^
user.cpp:16:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&k);
^
user.cpp:18:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{ fscanf(f,"%d%d",&x,&y);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 280kb | Incorect | 0 |
✗ | 2 | 0ms | 272kb | Incorect | 0 |
✗ | 3 | 0ms | 276kb | Incorect | 0 |
✗ | 4 | 0ms | 284kb | Incorect | 0 |
✗ | 5 | 0ms | 284kb | Incorect | 0 |
✗ | 6 | 8ms | 352kb | Incorect | 0 |
✗ | 7 | 84ms | 1056kb | Incorect | 0 |
✗ | 8 | 84ms | 1056kb | Incorect | 0 |
✓ | 9 | 84ms | 1052kb | Incorect | 0 |
✗ | 10 | 84ms | 1056kb | Incorect | 0 |
Punctaj total | 0 |