Pagini recente » Borderou de evaluare (job #2872398) | Cod sursa (job #1752587) | Borderou de evaluare (job #2639971) | Borderou de evaluare (job #2526888) | Borderou de evaluare (job #2089713)
Borderou de evaluare (job #2089713)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int)’:
user.cpp:16:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<G[x].size(); i++){
^
user.cpp:15:19: warning: unused variable ‘Y’ [-Wunused-variable]
int y=0, k=0, Y=0, v[16002];
^
user.cpp: In function ‘int main()’:
user.cpp:44:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",s);
^
user.cpp:31:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dosare.in", "r", stdin);
^
user.cpp:32:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dosare.out", "w", stdout);
^
user.cpp:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:40:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &viz[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 488kb | OK | 10 |
| 2 | 0ms | 500kb | OK | 10 |
| 3 | 0ms | 528kb | OK | 10 |
| 4 | 0ms | 516kb | OK | 10 |
| 5 | 0ms | 520kb | OK | 10 |
| 6 | 0ms | 540kb | OK | 10 |
| 7 | 4ms | 672kb | OK | 10 |
| 8 | 12ms | 776kb | Incorect | 0 |
| 9 | 12ms | 788kb | Incorect | 0 |
| 10 | 12ms | 820kb | Incorect | 0 |
| Punctaj total | 70 |