Pagini recente » Borderou de evaluare (job #2274534) | Borderou de evaluare (job #2879744) | Borderou de evaluare (job #2253606) | Borderou de evaluare (job #2130902) | Borderou de evaluare (job #2048408)
Borderou de evaluare (job #2048408)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int dfs(int)’:
user.cpp:51:8: warning: unused variable ‘dp’ [-Wunused-variable]
ll dp[nod];
^
user.cpp: In function ‘void read()’:
user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp: In function ‘long long int dfs(int)’:
user.cpp:52:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:75:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.in", "r", stdin);
^
user.cpp:76:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.out", "w", stdout);
^
user.cpp:80:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrTeste);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 308ms | 2196kb | OK | 100 |
Punctaj total | 100 |