Pagini recente » Borderou de evaluare (job #2596633) | Borderou de evaluare (job #1423327) | Borderou de evaluare (job #1334826) | Borderou de evaluare (job #1809934) | Borderou de evaluare (job #1543522)
Borderou de evaluare (job #1543522)
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 | 276kb | Incorect | 0 |
✗ | 2 | 0ms | 276kb | Incorect | 0 |
✗ | 3 | 0ms | 276kb | Incorect | 0 |
✗ | 4 | 0ms | 288kb | Incorect | 0 |
✗ | 5 | 0ms | 284kb | Incorect | 0 |
✗ | 6 | 8ms | 356kb | Incorect | 0 |
✗ | 7 | 28ms | 632kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 8 | 32ms | 636kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 9 | 28ms | 640kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 10 | 28ms | 636kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |