Borderou de evaluare (job #2616333)

Utilizator alex_benescuAlex Ben alex_benescu Data 18 mai 2020 09:51:58
Problema Time Travel Gossip Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:35:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < v.size(); i++) { ~~^~~~~~~~~~ main.cpp:17:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("ttg.in", "r", stdin); ^ main.cpp:18:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("ttg.out", "w", stdout); ^ main.cpp:19:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &n, &m); ^ main.cpp:21:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &nr); ^ main.cpp:24:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &x); ^ main.cpp:30:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &x); ^ main.cpp:40:19: warning: 'dr' may be used uninitialized in this function [-Wmaybe-uninitialized] ans[v[i].p] = dr; ~~~~~~~~~~~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1215ms4808kbOK10
2201ms4571kbOK10
3131ms3260kbOK10
4133ms3260kbOK10
5194ms4440kbOK10
6184ms4440kbOK10
7100ms2347kbOK10
881ms2347kbOK10
9201ms4829kbOK10
10225ms4829kbOK10
Punctaj total100

Ceva nu functioneaza?