Pagini recente » Borderou de evaluare (job #1486834) | Borderou de evaluare (job #2548002) | Borderou de evaluare (job #2365467) | Borderou de evaluare (job #2026280) | Borderou de evaluare (job #1627870)
Borderou de evaluare (job #1627870)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &n, &m);
^
user.cpp:14:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:15:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for (i = 1; i <= n; i++) scanf("%d", &a[i]);
^
user.cpp:16:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for (i = 1; i <= m; i++) scanf("%d", &b[i]);
^
user.cpp:12:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.in", "r", stdin);
^
user.cpp:13:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.in", "w", stdout);
^
user.cpp:14:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:15:45: 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", &a[i]);
^
user.cpp:16:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= m; i++) scanf("%d", &b[i]);
^
user.cpp:27:26: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n", lung[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 392kb | 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 |