Pagini recente » Cod sursa (job #1707955) | Borderou de evaluare (job #2794828) | Borderou de evaluare (job #1791599) | Borderou de evaluare (job #2663143) | Borderou de evaluare (job #2142094)
Borderou de evaluare (job #2142094)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:34: 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:18:36: 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:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &q);
^
user.cpp:22:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &rmq[i][0]);
^
user.cpp:34:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &l, &r);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 3548kb | OK | 10 | 10 |
| 2 | 0ms | 3548kb | OK | 10 | 10 |
| 3 | 4ms | 3572kb | OK | 10 | 10 |
| 4 | 104ms | 5792kb | OK | 10 | 10 |
| 5 | 120ms | 5788kb | OK | 10 | 20 |
| 6 | 648ms | 5836kb | OK | 10 |
| 7 | 680ms | 7956kb | OK | 10 | 10 |
| 8 | 800ms | 8528kb | OK | 10 | 10 |
| 9 | 896ms | 8524kb | OK | 10 | 10 |
| 10 | 984ms | 8528kb | OK | 10 | 10 |
| Punctaj total | 100 |