Borderou de evaluare (job #1230254)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ttg.in", "r", stdin);
^
user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ttg.out", "w", stdout);
^
user.cpp:42:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:47:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
user.cpp:53:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ttg.in", "r", stdin);
^
user.cpp:54:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ttg.out", "w", stdout);
^
user.cpp:55:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:58:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:61:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
user.cpp:69:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 28ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 2 | 24ms | 220kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 3 | 0ms | 220kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 4 | 0ms | 220kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 5 | 24ms | 220kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 6 | 24ms | 220kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 7 | 32ms | 216kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 8 | 28ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 9 | 28ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
✗ | 10 | 32ms | 220kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |