Pagini recente » Borderou de evaluare (job #2134747) | Borderou de evaluare (job #1761246) | Borderou de evaluare (job #1296135) | Borderou de evaluare (job #2007666) | Borderou de evaluare (job #1609780)
Borderou de evaluare (job #1609780)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:14:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d%d%d",&p1,&n,&m);
^
user.cpp:14:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:14:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:15:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
for (i=1;i<=n;i++) {scanf("%d",&power[i]);}
^
user.cpp:18:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d%d",&x,&y);
^
user.cpp:18:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:19:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d",&a[x][y]);
^
user.cpp: In function ‘int main()’:
user.cpp:78:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d\n",d[1][n]);
^
user.cpp: In function ‘void citire()’:
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragoni.in","r",stdin);
^
user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragoni.out","w",stdout);
^
user.cpp:14:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&p1,&n,&m);
^
user.cpp:15:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) {scanf("%d",&power[i]);}
^
user.cpp:18:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:19:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[x][y]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 472kb | Raspuns gresit! | 0 |
2 | 0ms | 420kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 508kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 420kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 440kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 428kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 432kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 432kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 432kb | Killed by signal 11(SIGSEGV). | 0 |
11 | 0ms | 476kb | Raspuns gresit! | 0 |
12 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
13 | 0ms | 504kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 0ms | 420kb | Killed by signal 11(SIGSEGV). | 0 |
15 | 0ms | 444kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 0ms | 420kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 0ms | 424kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |