Pagini recente » Borderou de evaluare (job #1646329) | Borderou de evaluare (job #1763805) | Borderou de evaluare (job #726278) | Borderou de evaluare (job #2860389) | Borderou de evaluare (job #1749874)
Borderou de evaluare (job #1749874)
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:52:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&nr);
^
user.cpp:55: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:52:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&nr);
^
user.cpp:55: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 | 416kb | OK! | 10 |
| 2 | 0ms | 416kb | OK! | 10 |
| 3 | 0ms | 424kb | OK! | 10 |
| 4 | 0ms | 416kb | OK! | 10 |
| 5 | 0ms | 448kb | OK! | 10 |
| 6 | 0ms | 452kb | A doua valoare gresita! | 7 |
| 7 | 0ms | 416kb | A doua valoare gresita! | 7 |
| 8 | 0ms | 424kb | OK! | 10 |
| 9 | 0ms | 428kb | A doua valoare gresita! | 7 |
| 10 | 0ms | 424kb | OK! | 10 |
| Punctaj total | 91 |