Pagini recente » Borderou de evaluare (job #1349413) | Borderou de evaluare (job #2568637) | Borderou de evaluare (job #1819977) | Borderou de evaluare (job #1730714) | Borderou de evaluare (job #1810009)
Borderou de evaluare (job #1810009)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:78:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i< v[1].v.size(); i++)
^
user.cpp:92:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i< v[arc.destinatie].v.size(); i++)
^
user.cpp:59:12: warning: unused variable ‘j’ [-Wunused-variable]
{ int i, j, a, b, c;
^
user.cpp:61:37: 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:62:39: 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:63:37: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1,buff_size, stdin);
^
user.cpp: In function ‘void read(int&)’:
user.cpp:12:96: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
while(!isdigit(buff[pos])) if(++pos == buff_size) fread(buff, 1,buff_size, stdin), pos = 0;
^
user.cpp:17:73: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++pos == buff_size) fread(buff, 1, buff_size, stdin), pos = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 808kb | OK | 10 |
2 | 0ms | 808kb | OK | 10 |
3 | 0ms | 860kb | OK | 10 |
4 | 0ms | 888kb | OK | 10 |
5 | 8ms | 1336kb | OK | 10 |
6 | 16ms | 1720kb | OK | 10 |
7 | 20ms | 1896kb | OK | 10 |
8 | 48ms | 2868kb | OK | 10 |
9 | 36ms | 2328kb | OK | 10 |
10 | 136ms | 5316kb | OK | 10 |
Punctaj total | 100 |