Pagini recente » Borderou de evaluare (job #1029831) | Borderou de evaluare (job #2941548) | Borderou de evaluare (job #725607) | Borderou de evaluare (job #893557) | Borderou de evaluare (job #2089728)
Borderou de evaluare (job #2089728)
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: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:31: 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 | 480kb | Incorect | 0 |
2 | 0ms | 480kb | Incorect | 0 |
3 | 0ms | 476kb | Incorect | 0 |
4 | 0ms | 480kb | Incorect | 0 |
5 | 0ms | 480kb | Incorect | 0 |
6 | 0ms | 480kb | Incorect | 0 |
7 | 0ms | 480kb | Incorect | 0 |
8 | 0ms | 472kb | Incorect | 0 |
9 | 0ms | 472kb | Incorect | 0 |
10 | 0ms | 476kb | Incorect | 0 |
Punctaj total | 0 |