Pagini recente » Borderou de evaluare (job #306409) | Borderou de evaluare (job #2609587) | Borderou de evaluare (job #447138) | Borderou de evaluare (job #3280676) | Borderou de evaluare (job #2089747)
Borderou de evaluare (job #2089747)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int dfs(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:38:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &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:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &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 | 488kb | OK | 10 |
2 | 0ms | 496kb | OK | 10 |
3 | 0ms | 532kb | OK | 10 |
4 | 0ms | 524kb | OK | 10 |
5 | 0ms | 516kb | OK | 10 |
6 | 0ms | 576kb | OK | 10 |
7 | 4ms | 792kb | OK | 10 |
8 | 12ms | 940kb | OK | 10 |
9 | 12ms | 932kb | OK | 10 |
10 | 12ms | 948kb | OK | 10 |
Punctaj total | 100 |