Pagini recente » Borderou de evaluare (job #1001080) | Borderou de evaluare (job #2691778) | Borderou de evaluare (job #2721081) | Borderou de evaluare (job #1588890) | Borderou de evaluare (job #2102336)
Borderou de evaluare (job #2102336)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:12:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<G[x].size(); i++){
^
user.cpp: In function ‘void dfs2(int)’:
user.cpp:19:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<G[x].size(); i++){
^
user.cpp: In function ‘int main()’:
user.cpp:34:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in", "r", stdin);
^
user.cpp:35:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out", "w", stdout);
^
user.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:38:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) scanf("%d", &c[i]);
^
user.cpp:40:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:43:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK! | 10 |
2 | 0ms | 264kb | OK! | 10 |
3 | 0ms | 264kb | OK! | 10 |
4 | 0ms | 268kb | OK! | 10 |
5 | Depăşit | 272kb | Time limit exceeded. | 0 |
6 | Depăşit | 272kb | Time limit exceeded. | 0 |
7 | 0ms | 264kb | OK! | 10 |
8 | Depăşit | 252kb | Time limit exceeded. | 0 |
9 | Depăşit | 252kb | Time limit exceeded. | 0 |
10 | 0ms | 260kb | OK! | 10 |
Punctaj total | 60 |