Pagini recente » Borderou de evaluare (job #1416810) | Borderou de evaluare (job #1523583) | Borderou de evaluare (job #1453105) | Diferente pentru problema/zero2 intre reviziile 4 si 5 | Borderou de evaluare (job #1744789)
Borderou de evaluare (job #1744789)
Raport evaluator
Compilare:
user.cpp: In constructor ‘IntervalTrees::IntervalTrees(const std::vector<int>&)’:
user.cpp:19:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < nums.size(); ++i) {
^
user.cpp: In member function ‘int IntervalTrees::Update(int, int)’:
user.cpp:55:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (position < sums.size()) {
^
user.cpp:59:3: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:68:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in","r",stdin);
^
user.cpp:69:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out","w",stdout);
^
user.cpp:71:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &nums_number, &queries_number);
^
user.cpp:74:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nums[i]);
^
user.cpp:80:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &type);
^
user.cpp:82:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp:84: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 | 0ms | 440kb | OK | 10 |
| 2 | 0ms | 448kb | OK | 10 |
| 3 | 8ms | 480kb | OK | 10 |
| 4 | 32ms | 632kb | OK | 10 |
| 5 | 76ms | 576kb | OK | 10 |
| 6 | 120ms | 784kb | OK | 10 |
| 7 | 20ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 24ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 24ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 24ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 60 |