Pagini recente » Borderou de evaluare (job #1938504) | Borderou de evaluare (job #1025404) | Borderou de evaluare (job #3004265) | Borderou de evaluare (job #1736636) | Borderou de evaluare (job #1626306)
Borderou de evaluare (job #1626306)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:123:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (!pasageri.empty() && pasageri.size() > locuri) {
^
user.cpp:128:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < pleaca[i].size(); ++j) {
^
user.cpp:131:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pasageri.size() < locuri) {
^
user.cpp:150:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < vine[i].size(); ++j) {
^
user.cpp:148:9: warning: unused variable ‘statie’ [-Wunused-variable]
int statie = pozStatie[i];
^
user.cpp:72: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:73: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:77: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:79: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:82: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 | 124ms | 11776kb | Killed by signal 6(SIGABRT). | 0 |
2 | 16ms | 9448kb | Killed by signal 6(SIGABRT). | 0 |
3 | 16ms | 9428kb | Killed by signal 6(SIGABRT). | 0 |
4 | 12ms | 9404kb | Killed by signal 6(SIGABRT). | 0 |
5 | 12ms | 9408kb | Killed by signal 6(SIGABRT). | 0 |
6 | 12ms | 9432kb | Killed by signal 6(SIGABRT). | 0 |
7 | 132ms | 11980kb | Killed by signal 6(SIGABRT). | 0 |
8 | 156ms | 13240kb | Killed by signal 6(SIGABRT). | 0 |
9 | 204ms | 15052kb | Killed by signal 6(SIGABRT). | 0 |
10 | 12ms | 9392kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 0 |