Pagini recente » Cod sursa (job #3352435) | Borderou de evaluare (job #2604343) | Cod sursa (job #2200626) | Cod sursa (job #2006504) | Borderou de evaluare (job #1814961)
Borderou de evaluare (job #1814961)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d %d", a, b);
^
user.cpp:39:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:25:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.in", "r", stdin);
^
user.cpp:26:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.out", "w", stdout);
^
user.cpp:27:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:29:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &arr[i]);
^
user.cpp:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", a, b);
^
user.cpp:39:24: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:39:24: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 432kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 2 | 0ms | 440kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 3 | 0ms | 740kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 4 | 16ms | 3736kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 5 | 16ms | 3732kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 6 | 16ms | 4440kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 24ms | 5908kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 8 | 32ms | 7348kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 9 | 32ms | 7348kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 10 | 32ms | 7348kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| Punctaj total | 0 |