Pagini recente » Cod sursa (job #909167) | Borderou de evaluare (job #1989628) | Borderou de evaluare (job #241437) | Borderou de evaluare (job #2856557) | Borderou de evaluare (job #680528)
Borderou de evaluare (job #680528)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:33: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf ("%hd %hd", &a, &b);
^
user.cpp:38:33: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:27:37: 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:28:39: 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:30:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%hd %hd %hd", &n, &p, &k);
^
user.cpp:32:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%hd %hd", d + i, c + i);
^
user.cpp:38:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%hd %hd", &a, &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 292kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 80ms | 400kb | OK | 10 |
| 5 | 0ms | 288kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 288kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 30 |