Pagini recente » Borderou de evaluare (job #1934843) | Borderou de evaluare (job #968686) | Borderou de evaluare (job #112707) | Borderou de evaluare (job #2528929) | Borderou de evaluare (job #1506401)
Borderou de evaluare (job #1506401)
Raport evaluator
Compilare:
user.cpp: In function ‘void df(int)’:
user.cpp:50:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(up != nodes.size() - 1) {
^
user.cpp:52:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while((1 << (j + 1)) <= nodes.size() - up - 1)
^
user.cpp:60:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < con[nod].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:75:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp:76:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spiridusi.in", "r", stdin);
^
user.cpp:77:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spiridusi.out", "w", stdout);
^
user.cpp:78:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &C);
^
user.cpp:80:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &s[i]);
^
user.cpp:82:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p[i]);
^
user.cpp:84:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1532kb | OK | 10 |
2 | 260ms | 25508kb | OK | 10 |
3 | 4ms | 1652kb | OK | 10 |
4 | 4ms | 1668kb | OK | 10 |
5 | 112ms | 9524kb | OK | 10 |
6 | 180ms | 14684kb | OK | 10 |
7 | 224ms | 17244kb | OK | 10 |
8 | 224ms | 17244kb | OK | 10 |
9 | 244ms | 17896kb | OK | 10 |
10 | 224ms | 17932kb | OK | 10 |
Punctaj total | 100 |