Pagini recente » Borderou de evaluare (job #867422) | Borderou de evaluare (job #645626) | Borderou de evaluare (job #1013391) | Borderou de evaluare (job #1595838) | Borderou de evaluare (job #1899976)
Borderou de evaluare (job #1899976)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int)’:
user.cpp:9:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<lda[nod].size();i++)if(!v[lda[nod][i]]){
^
user.cpp: In function ‘int main()’:
user.cpp:19:12: warning: unused variable ‘m1’ [-Wunused-variable]
int n, m1, x, y, i;
^
user.cpp:20:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.in", "r", stdin);
^
user.cpp:21:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.out", "w", stdout);
^
user.cpp:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val[i]);
^
user.cpp:29: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 | 16ms | 1056kb | OK | 10 |
2 | 0ms | 628kb | OK | 10 |
3 | 0ms | 636kb | OK | 10 |
4 | 0ms | 628kb | OK | 10 |
5 | 0ms | 628kb | OK | 10 |
6 | 0ms | 632kb | OK | 10 |
7 | 8ms | 940kb | OK | 10 |
8 | 16ms | 1056kb | OK | 10 |
9 | 16ms | 1056kb | OK | 10 |
10 | 20ms | 1056kb | OK | 10 |
Punctaj total | 100 |