Pagini recente » Borderou de evaluare (job #1143707) | Borderou de evaluare (job #2567279) | Borderou de evaluare (job #142600) | Borderou de evaluare (job #475826) | Borderou de evaluare (job #1681068)
Borderou de evaluare (job #1681068)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int, int)’:
user.cpp:14:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0 ; i < g[act].size() ; ++i)
^
user.cpp:17:13: warning: unused variable ‘p’ [-Wunused-variable]
int p = g[act][i].second;
^
user.cpp:24:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0 ; i < g[act].size() ; ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:53:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rege2.in" , "r" , stdin);
^
user.cpp:54:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rege2.out" , "w" , stdout);
^
user.cpp:56:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d" , &T) ; T ; --T)
^
user.cpp:58:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
^
user.cpp:59:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &s);
^
user.cpp:64:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &x);
^
user.cpp:65:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &y);
^
user.cpp:66:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2020kb | OK | 10 |
2 | 4ms | 2020kb | OK | 10 |
3 | 4ms | 2024kb | OK | 10 |
4 | 12ms | 2048kb | OK | 10 |
5 | 32ms | 2204kb | OK | 10 |
6 | 84ms | 2596kb | OK | 10 |
7 | 384ms | 3816kb | OK | 10 |
8 | 380ms | 3836kb | OK | 10 |
9 | 384ms | 3840kb | OK | 10 |
10 | 416ms | 4032kb | OK | 10 |
Punctaj total | 100 |