Pagini recente » Borderou de evaluare (job #2325698) | Borderou de evaluare (job #3157876) | Borderou de evaluare (job #793452) | Borderou de evaluare (job #856494) | Borderou de evaluare (job #1378026)
Borderou de evaluare (job #1378026)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin,"%d%d",&n,&c);
^
user.cpp:19:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:22:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin,"%d%d",&i,&j);
^
user.cpp:22:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:25:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin,"%d%d%d%d",&x1,&y1,&x2,&y2);
^
user.cpp:25:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:25:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:25:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:19:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&c);
^
user.cpp:22:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&i,&j);
^
user.cpp:25:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d%d",&x1,&y1,&x2,&y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 288kb | Incorect | 0 |
4 | 0ms | 384kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 340kb | Incorect | 0 |
6 | 0ms | 384kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 8ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 384kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |