Pagini recente » Borderou de evaluare (job #100007) | Borderou de evaluare (job #946914) | Cod sursa (job #2610110) | Borderou de evaluare (job #2053673) | Borderou de evaluare (job #1350747)
Borderou de evaluare (job #1350747)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d",&nr,&n,&k);
^
user.cpp:46:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:46:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:56:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&x,&y);
^
user.cpp:56:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:62:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&x,&y);
^
user.cpp:62:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:43:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in","r",stdin);
^
user.cpp:44:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out","w",stdout);
^
user.cpp:46:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&nr,&n,&k);
^
user.cpp:56:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:62:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |