Pagini recente » Borderou de evaluare (job #931143) | Borderou de evaluare (job #3161729) | Cod sursa (job #2394896) | Borderou de evaluare (job #3190315) | Borderou de evaluare (job #1734954)
Borderou de evaluare (job #1734954)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve2()’:
user.cpp:120:23: warning: unused variable ‘tmp1’ [-Wunused-variable]
long long tmp1 = dist[dragon][vecini[insula][i].second];
^
user.cpp:121:23: warning: unused variable ‘tmp2’ [-Wunused-variable]
long long tmp2 = dist[dragon][insula];
^
user.cpp:122:23: warning: unused variable ‘tmp3’ [-Wunused-variable]
long long tmp3 = vecini[insula][i].first;
^
user.cpp: In function ‘void citire()’:
user.cpp:22:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &p);
^
user.cpp:23:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld", &n, &m);
^
user.cpp:29:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &tmp1);
^
user.cpp:35:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lldS", &tmp1, &tmp2, &tmp3);
^
user.cpp: In function ‘int main()’:
user.cpp:156:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragoni.in", "r", stdin);
^
user.cpp:157:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragoni.out", "w", stdout);
^
user.cpp: In function ‘void solve1()’:
user.cpp:91:41: warning: ‘posMax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%lld", tipuriDragoni[posMax]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 320kb | Corect! | 2 |
| 2 | 0ms | 332kb | Corect! | 2 |
| 3 | 0ms | 344kb | Corect! | 2 |
| 4 | 0ms | 352kb | Corect! | 2 |
| 5 | 0ms | 364kb | Corect! | 2 |
| 6 | 0ms | 376kb | Corect! | 2 |
| 7 | 4ms | 528kb | Corect! | 2 |
| 8 | 4ms | 564kb | Corect! | 2 |
| 9 | 4ms | 604kb | Corect! | 2 |
| 10 | 4ms | 620kb | Corect! | 2 |
| 11 | 4ms | 5436kb | Corect! | 8 |
| 12 | 4ms | 5444kb | Corect! | 8 |
| 13 | 8ms | 5528kb | Raspuns gresit! | 0 |
| 14 | 8ms | 5452kb | Raspuns gresit! | 0 |
| 15 | 8ms | 5456kb | Raspuns gresit! | 0 |
| 16 | 8ms | 5472kb | Raspuns gresit! | 0 |
| 17 | 8ms | 5628kb | Raspuns gresit! | 0 |
| 18 | 12ms | 5656kb | Raspuns gresit! | 0 |
| 19 | 12ms | 5708kb | Raspuns gresit! | 0 |
| 20 | 12ms | 5568kb | Raspuns gresit! | 0 |
| Punctaj total | 36 |