Pagini recente » Borderou de evaluare (job #432103) | Borderou de evaluare (job #2452587) | Borderou de evaluare (job #979813) | Borderou de evaluare (job #2276922) | Borderou de evaluare (job #1699058)
Borderou de evaluare (job #1699058)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, long long int)’:
user.cpp:25:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(t > ttime || nodes.size() == n)
^
user.cpp:32:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < l[node].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:65:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < nodes.size(); i++)
^
user.cpp:41:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tempest.in", "r", stdin);
^
user.cpp:42:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tempest.out", "w", stdout);
^
user.cpp:43:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:46:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &m, &s, &d);
^
user.cpp:48:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lld", &x, &y, &z);
^
user.cpp:54:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:57:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 19184kb | Time limit exceeded. | 0 |
Punctaj total | 0 |