Pagini recente » Borderou de evaluare (job #2142687) | Borderou de evaluare (job #2947470) | Borderou de evaluare (job #2332257) | Borderou de evaluare (job #3282729) | Borderou de evaluare (job #2089725)
Borderou de evaluare (job #2089725)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int dfs(long long int)’:
user.cpp:18:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<G[x].size(); i++){
^
user.cpp:16:25: warning: unused variable ‘Y’ [-Wunused-variable]
long long y=0, k=0, Y=0;
^
user.cpp: In function ‘int main()’:
user.cpp:36:21: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld", &n);
^
user.cpp:38:25: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld", &x);
^
user.cpp:42:29: warning: too many arguments for format [-Wformat-extra-args]
scanf("lld", &viz[i]);
^
user.cpp:33: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:34: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:36:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
user.cpp:38:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &x);
^
user.cpp:42:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("lld", &viz[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 484kb | Incorect | 0 |
| 2 | 0ms | 480kb | Incorect | 0 |
| 3 | 0ms | 476kb | Incorect | 0 |
| 4 | 0ms | 480kb | Incorect | 0 |
| 5 | 0ms | 480kb | Incorect | 0 |
| 6 | 0ms | 476kb | Incorect | 0 |
| 7 | 0ms | 476kb | Incorect | 0 |
| 8 | 0ms | 480kb | Incorect | 0 |
| 9 | 0ms | 476kb | Incorect | 0 |
| 10 | 0ms | 476kb | Incorect | 0 |
| Punctaj total | 0 |