Pagini recente » Borderou de evaluare (job #2327724) | Borderou de evaluare (job #274973) | Borderou de evaluare (job #2387539) | Borderou de evaluare (job #2981258) | Borderou de evaluare (job #1369521)
Borderou de evaluare (job #1369521)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d%cg",&m,&n,&cg);
^
user.cpp:9:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:12:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%c%c",&x,&cg,&y);
^
user.cpp:17:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d",max);
^
user.cpp:9:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%cg",&m,&n,&cg);
^
user.cpp:12:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%c%c",&x,&cg,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 188kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 192kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 184kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 192kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |