Pagini recente » Borderou de evaluare (job #1443227) | Borderou de evaluare (job #1418779) | Borderou de evaluare (job #1408313) | Borderou de evaluare (job #2695202) | Borderou de evaluare (job #1266156)
Borderou de evaluare (job #1266156)
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:55: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:53: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 | OK | 10 |
3 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 4ms | 316kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 16ms | 496kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 32ms | 672kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 48ms | 936kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 56ms | 1104kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 10 |