Pagini recente » Borderou de evaluare (job #969848) | Borderou de evaluare (job #1795154)
Borderou de evaluare (job #1795154)
Raport evaluator
Compilare:
user.cpp: In function ‘void Dijkstra(int)’:
user.cpp:49:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(k=0; k<v[nod].size(); k++)
^
user.cpp:31:15: warning: unused variable ‘sz’ [-Wunused-variable]
int i,nod,sz,mn,k;
^
user.cpp: In function ‘void citeste(int&)’:
user.cpp:18:42: 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,DIM,stdin),poz=0;
^
user.cpp:24:42: 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,DIM,stdin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:63:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pscnv.in","r",stdin);
^
user.cpp:64:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pscnv.out","w",stdout);
^
user.cpp: In function ‘void Dijkstra(int)’:
user.cpp:31:18: warning: ‘mn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int i,nod,sz,mn,k;
^
user.cpp:58:21: warning: ‘nod’ may be used uninitialized in this function [-Wmaybe-uninitialized]
exist[nod]=1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3392kb | Incorect | 0 |
2 | 4ms | 3412kb | Incorect | 0 |
3 | 4ms | 3472kb | OK | 10 |
4 | 20ms | 4192kb | OK | 10 |
5 | 24ms | 4188kb | OK | 10 |
6 | 28ms | 4468kb | OK | 10 |
7 | 48ms | 5048kb | OK | 10 |
8 | 108ms | 6744kb | OK | 10 |
9 | 268ms | 10148kb | OK | 10 |
10 | 348ms | 11836kb | OK | 10 |
Punctaj total | 80 |