Pagini recente » Borderou de evaluare (job #1678990) | Borderou de evaluare (job #1659506) | Borderou de evaluare (job #1347025) | Borderou de evaluare (job #3120581) | Borderou de evaluare (job #1749921)
Borderou de evaluare (job #1749921)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int)’:
user.cpp:21:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<H[nod].size();i++)
^
user.cpp: In function ‘void dfs2(int, int)’:
user.cpp:36:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<H[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:45:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:47:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&v[i]);
^
user.cpp:53:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&nr);
^
user.cpp:56:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&x);
^
user.cpp:43:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in","r",stdin);
^
user.cpp:45:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:47:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&v[i]);
^
user.cpp:53:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&nr);
^
user.cpp:56:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 420kb | OK! | 10 |
| 2 | 0ms | 420kb | OK! | 10 |
| 3 | 0ms | 424kb | OK! | 10 |
| 4 | 0ms | 420kb | OK! | 10 |
| 5 | 0ms | 444kb | OK! | 10 |
| 6 | 0ms | 456kb | OK! | 10 |
| 7 | 0ms | 416kb | OK! | 10 |
| 8 | 0ms | 428kb | OK! | 10 |
| 9 | 0ms | 432kb | OK! | 10 |
| 10 | 0ms | 420kb | OK! | 10 |
| Punctaj total | 100 |