Pagini recente » Borderou de evaluare (job #1973302) | Borderou de evaluare (job #237949) | Borderou de evaluare (job #1718468) | Borderou de evaluare (job #527887) | Borderou de evaluare (job #1603552)
Borderou de evaluare (job #1603552)
Raport evaluator
Compilare:
user.cpp: In function ‘void build()’:
user.cpp:70:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < nodes[i].size(); ++ j)
^
user.cpp: In function ‘int main()’:
user.cpp:248:53: warning: unused variable ‘mid’ [-Wunused-variable]
int left = level[x[i]], right = maxlev, mid, admax;
^
user.cpp:198:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("neapuiu.in", "r", stdin);
^
user.cpp:199:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("neapuiu.out", "w", stdout);
^
user.cpp:201:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &n, &m);
^
user.cpp:204:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &a, &b);
^
user.cpp:212:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &type[i]);
^
user.cpp:215:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &x[i], &y[i]);
^
user.cpp:221:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &x[i]);
^
user.cpp:260:43: warning: ‘admax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
query(1, 1, nodes[admax].size(), start[admax], interv.first + 1, interv.second + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 5288kb | OK | 10 |
2 | 24ms | 5536kb | OK | 10 |
3 | 92ms | 7372kb | OK | 10 |
4 | 260ms | 14928kb | OK | 10 |
5 | 448ms | 16448kb | OK | 10 |
6 | 408ms | 16484kb | OK | 10 |
7 | Depăşit | 23012kb | Time limit exceeded. | 0 |
8 | Depăşit | 23976kb | Time limit exceeded. | 0 |
9 | Depăşit | 25072kb | Time limit exceeded. | 0 |
10 | Depăşit | 25164kb | Time limit exceeded. | 0 |
Punctaj total | 60 |