Pagini recente » Clasament preoni62b | Borderou de evaluare (job #2689997) | Borderou de evaluare (job #2912587) | Nadir latent! Poetul ridică însumarea | Borderou de evaluare (job #1712900)
Borderou de evaluare (job #1712900)
Raport evaluator
Compilare:
user.cpp: In function ‘int BF()’:
user.cpp:10:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define sz size()
^
user.cpp:35:32: note: in expansion of macro ‘sz’
for (j = 0; j < G[nod].sz; j++)
^
user.cpp: In function ‘int main()’:
user.cpp:10:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define sz size()
^
user.cpp:102:38: note: in expansion of macro ‘sz’
for (int i = 0; i < G[N].sz; i++)
^
user.cpp:50:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tribut.in", "r", stdin);
^
user.cpp:51:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tribut.out", "w", stdout);
^
user.cpp:59:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &test_cnt);
^
user.cpp:63:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &system_cnt);
^
user.cpp:64:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &union_cnt);
^
user.cpp:76:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost);
^
user.cpp:83:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cnt);
^
user.cpp:84:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost);
^
user.cpp:91:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &system);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 576kb | OK | 100 |
Punctaj total | 100 |