Pagini recente » Borderou de evaluare (job #411672) | Borderou de evaluare (job #3235001) | Borderou de evaluare (job #1872632) | Borderou de evaluare (job #372676) | Borderou de evaluare (job #1266152)
Borderou de evaluare (job #1266152)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin,"%d",&n);
^
user.cpp:18:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin,"%d",&a[i][0]);
^
user.cpp:19:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin,"%d",&a[i][1]);
^
user.cpp:45:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(fout,"%d",left);
^
user.cpp:12:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
user.cpp:18:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&a[i][0]);
^
user.cpp:19:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&a[i][1]);
^
user.cpp:43:21: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
a[pos][1]=-1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 252kb | Incorect | 0 |
3 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 4ms | 320kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 16ms | 500kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 32ms | 672kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 48ms | 940kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 60ms | 1112kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |