Pagini recente » Borderou de evaluare (job #228095) | Borderou de evaluare (job #941618) | Borderou de evaluare (job #1173501) | Borderou de evaluare (job #439646) | Borderou de evaluare (job #1766411)
Borderou de evaluare (job #1766411)
Raport evaluator
Compilare:
user.cpp: In function ‘void ReadElements(std::vector<std::vector<int> >&, int)’:
user.cpp:11: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: In function ‘void ProcessingQueries(std::vector<std::vector<int> >&, int)’:
user.cpp:40:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &beginInterval, &endInterval);
^
user.cpp: In function ‘int main()’:
user.cpp:51:32: 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:52:34: 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:54:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &numberOfElements, &numberOfQueries);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 300kb | OK | 10 | 10 |
2 | 0ms | 304kb | OK | 10 | 10 |
3 | 4ms | 636kb | OK | 10 | 10 |
4 | 124ms | 4224kb | OK | 10 | 10 |
5 | 144ms | 4224kb | OK | 10 | 20 |
6 | 736ms | 5016kb | OK | 10 |
7 | 772ms | 6600kb | OK | 10 | 10 |
8 | 904ms | 8448kb | OK | 10 | 10 |
9 | 1004ms | 8448kb | OK | 10 | 10 |
10 | 1108ms | 8448kb | OK | 10 | 10 |
Punctaj total | 100 |