Pagini recente » Borderou de evaluare (job #1877804) | Borderou de evaluare (job #2218498) | Borderou de evaluare (job #1145615) | Borderou de evaluare (job #766202) | Borderou de evaluare (job #1745943)
Borderou de evaluare (job #1745943)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:46:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < V[x].size(); ++ i)
^
user.cpp: In function ‘void Dfs(int)’:
user.cpp:64:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < V[x].size(); ++ i)
^
user.cpp: In function ‘void solve()’:
user.cpp:80:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, nod;
^
user.cpp:80:12: warning: unused variable ‘nod’ [-Wunused-variable]
int i, nod;
^
user.cpp: In function ‘void read()’:
user.cpp:33:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:37:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &d);
^
user.cpp: In function ‘int main()’:
user.cpp:104:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("razboi.in", "r", stdin);
^
user.cpp:105:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("razboi.out", "w", stdout);
^
user.cpp:106:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 152ms | 1768kb | OK | 100 |
Punctaj total | 100 |