Pagini recente » Borderou de evaluare (job #3102336) | Borderou de evaluare (job #1465897) | Borderou de evaluare (job #278398) | Borderou de evaluare (job #2470836) | Borderou de evaluare (job #1603640)
Borderou de evaluare (job #1603640)
Raport evaluator
Compilare:
user.cpp: In function ‘void get_fish()’:
user.cpp:46:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (s.empty() || s.size() < k || -s.top() < v[i].p)
^
user.cpp:48:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (!s.empty() && s.size() >= k)
^
user.cpp:59:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (s.empty() || s.size() < k || -s.top() < v[i].p)
^
user.cpp:61:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (!s.empty() && s.size() >= k)
^
user.cpp:41:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp: In function ‘void read()’:
user.cpp:34:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("peste.in", "r", stdin);
^
user.cpp:35:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &k, &t);
^
user.cpp:37:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &v[i].p, &v[i].t);
^
user.cpp: In function ‘void write()’:
user.cpp:87:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("peste.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 36ms | 1468kb | Incorect | 0 |
| 2 | 32ms | 1412kb | Incorect | 0 |
| 3 | 32ms | 1328kb | Incorect | 0 |
| 4 | 24ms | 1232kb | Incorect | 0 |
| 5 | 20ms | 1184kb | Incorect | 0 |
| 6 | 20ms | 1144kb | Incorect | 0 |
| 7 | 4ms | 528kb | Incorect | 0 |
| 8 | 0ms | 504kb | Incorect | 0 |
| 9 | 0ms | 460kb | Incorect | 0 |
| 10 | 0ms | 448kb | Incorect | 0 |
| Punctaj total | 0 |