Pagini recente » Borderou de evaluare (job #2854839) | Borderou de evaluare (job #549642) | Borderou de evaluare (job #709530) | Borderou de evaluare (job #1925545) | Borderou de evaluare (job #1795162)
Borderou de evaluare (job #1795162)
Raport evaluator
Compilare:
user.cpp: In function ‘void Dijkstra(int)’:
user.cpp:51: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:65: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:66: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:48:9: warning: ‘nod’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(nod==y)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3392kb | OK | 10 |
2 | 4ms | 3416kb | OK | 10 |
3 | 4ms | 3476kb | OK | 10 |
4 | 28ms | 4192kb | OK | 10 |
5 | 28ms | 4192kb | OK | 10 |
6 | 40ms | 4468kb | OK | 10 |
7 | 64ms | 5048kb | OK | 10 |
8 | 140ms | 6744kb | OK | 10 |
9 | 332ms | 10148kb | OK | 10 |
10 | 428ms | 11836kb | OK | 10 |
Punctaj total | 100 |