Pagini recente » Borderou de evaluare (job #2451447) | Borderou de evaluare (job #1196305) | Borderou de evaluare (job #113601) | Borderou de evaluare (job #2941629) | Borderou de evaluare (job #1744780)
Borderou de evaluare (job #1744780)
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:51:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (position < sums.size()) {
^
user.cpp:55:3: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:74: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:75: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:77: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:79:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nums[i]);
^
user.cpp:82:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &queries[i].type);
^
user.cpp:84:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &queries[i].x, &queries[i].y);
^
user.cpp:86:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &queries[i].x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |