Pagini recente » Borderou de evaluare (job #1985244) | Borderou de evaluare (job #173862) | Borderou de evaluare (job #778228) | Borderou de evaluare (job #2017630) | Borderou de evaluare (job #1350281)
Borderou de evaluare (job #1350281)
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:16:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin,"%d %d",&a,&b);
^
user.cpp:16:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:26:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(fout,"%d\n",b);
^
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:16:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
3 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 192kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |