Pagini recente » Borderou de evaluare (job #1707631) | Borderou de evaluare (job #577067) | Borderou de evaluare (job #1733467) | Borderou de evaluare (job #1773903) | Borderou de evaluare (job #1627981)
Borderou de evaluare (job #1627981)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:125:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (!pasageri.empty() && pasageri.size() > locuri) {
^
user.cpp:142:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (!pasageri.empty() && pasageri.size() > locuri) {
^
user.cpp:150:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < pleaca[i].size(); ++j) {
^
user.cpp:153:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pasageri.size() < locuri) {
^
user.cpp:178:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < vine[i].size(); ++j) {
^
user.cpp:76:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trenuri3.in", "r", stdin);
^
user.cpp:77:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trenuri3.out", "w", stdout);
^
user.cpp:81:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:83:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &tren[i].statie, &tren[i].cap);
^
user.cpp:86:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &pas[i].st, &pas[i].dr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 164ms | 12112kb | Corect!!! | 10 |
2 | 12ms | 9420kb | Killed by signal 6(SIGABRT). | 0 |
3 | 12ms | 9404kb | Killed by signal 6(SIGABRT). | 0 |
4 | 16ms | 9360kb | Cerinta 2 -> incorect! | 3 |
5 | 12ms | 9364kb | Cerinta 2 -> incorect! | 3 |
6 | 12ms | 9412kb | Killed by signal 6(SIGABRT). | 0 |
7 | 236ms | 12140kb | Cerinta 2 -> incorect! | 3 |
8 | 200ms | 12668kb | Killed by signal 6(SIGABRT). | 0 |
9 | 264ms | 13988kb | Killed by signal 6(SIGABRT). | 0 |
10 | 12ms | 9344kb | Corect!!! | 10 |
Punctaj total | 29 |