Pagini recente » Borderou de evaluare (job #1317318) | Borderou de evaluare (job #1736776) | Borderou de evaluare (job #1854384) | Borderou de evaluare (job #1958875) | Borderou de evaluare (job #2550091)
Borderou de evaluare (job #2550091)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int, int)':
main.cpp:18:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++){
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:60:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", comp.size());
^
main.cpp:61:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<comp.size(); i++)
~^~~~~~~~~~~~
main.cpp:45:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("pamant.in", "r", stdin);
^
main.cpp:46:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pamant.out", "w", stdout);
^
main.cpp:48:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:50:30: 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 | 2621kb | Raspuns corect | 10 |
| 2 | 15ms | 2883kb | Raspuns corect | 10 |
| 3 | 8ms | 2621kb | Raspuns corect | 10 |
| 4 | 66ms | 4718kb | Raspuns corect | 10 |
| 5 | 102ms | 6029kb | Raspuns corect | 10 |
| 6 | 157ms | 7733kb | Raspuns corect | 10 |
| 7 | 56ms | 4980kb | Raspuns corect | 10 |
| 8 | 63ms | 5365kb | Raspuns corect | 10 |
| 9 | 252ms | 10747kb | Time limit exceeded | 0 |
| 10 | 7ms | 2490kb | Raspuns corect | 10 |
| Punctaj total | 90 |