Pagini recente » Borderou de evaluare (job #2567738) | Borderou de evaluare (job #324876) | Borderou de evaluare (job #393070) | Borderou de evaluare (job #1509032) | Borderou de evaluare (job #1266150)
Borderou de evaluare (job #1266150)
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:44: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:42: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 | 232kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 4ms | 320kb | 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 | 60ms | 936kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 56ms | 1108kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |