Pagini recente » Borderou de evaluare (job #1953827) | Borderou de evaluare (job #1315497) | Borderou de evaluare (job #2167089) | Borderou de evaluare (job #2505572) | Borderou de evaluare (job #1187497)
Borderou de evaluare (job #1187497)
Raport evaluator
Compilare:
user.cpp: In function ‘int count(int, int)’:
user.cpp:22:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < tree[node].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:59:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < solution.size(); ++i)
^
user.cpp:43:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nustiu.in", "r", stdin);
^
user.cpp:44:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nustiu.out", "w", stdout);
^
user.cpp:45:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:49:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:53:34: 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 | 8ms | 808kb | OK | 100 |
Punctaj total | 100 |