Pagini recente » Borderou de evaluare (job #584103) | Borderou de evaluare (job #1955577) | Borderou de evaluare (job #168664) | Borderou de evaluare (job #2457517) | Borderou de evaluare (job #1823230)
Borderou de evaluare (job #1823230)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:60:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < g[a].size(); i++)
^
user.cpp:40:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, a, b, c;
^
user.cpp:41:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in", "r", stdin);
^
user.cpp:42:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out", "w", stdout);
^
user.cpp: In function ‘void read(int&)’:
user.cpp:9:35: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buf, 1, bufs, stdin);\
^
user.cpp:30:66: note: in expansion of macro ‘nxt’
while((buf[pos] < '0' || buf[pos] > '9') && buf[pos] != '-') nxt();
^
user.cpp:9:35: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buf, 1, bufs, stdin);\
^
user.cpp:33:5: note: in expansion of macro ‘nxt’
nxt();
^
user.cpp:9:35: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buf, 1, bufs, stdin);\
^
user.cpp:34:82: note: in expansion of macro ‘nxt’
while(buf[pos] >= '0' && buf[pos] <= '9') { val = val * 10 + buf[pos] - '0'; nxt(); }
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 844kb | OK | 10 |
2 | 0ms | 836kb | Incorect | 0 |
3 | 0ms | 888kb | Incorect | 0 |
4 | 0ms | 908kb | Incorect | 0 |
5 | 8ms | 1472kb | Incorect | 0 |
6 | 16ms | 2068kb | Incorect | 0 |
7 | 28ms | 2444kb | Incorect | 0 |
8 | 40ms | 3540kb | Incorect | 0 |
9 | Depăşit | 3240kb | Time limit exceeded. | 0 |
10 | 128ms | 5432kb | Incorect | 0 |
Punctaj total | 10 |