Pagini recente » Borderou de evaluare (job #569280) | Borderou de evaluare (job #2425892) | Borderou de evaluare (job #482355) | Borderou de evaluare (job #1547308) | Borderou de evaluare (job #1244136)
Borderou de evaluare (job #1244136)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int&)’:
user.cpp:16:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < G[node].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:26:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arhipeleag.in", "r", stdin);
^
user.cpp:27:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arhipeleag.out", "w", stdout);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:34:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &k);
^
user.cpp:38:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:54:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ord[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1400kb | Fisier de iesire lipsa | 0 |
Punctaj total | 0 |