Pagini recente » Borderou de evaluare (job #279457) | Borderou de evaluare (job #2947646) | Borderou de evaluare (job #2776374) | Borderou de evaluare (job #253300) | Borderou de evaluare (job #2582217)
Borderou de evaluare (job #2582217)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:6:20: warning: integer overflow in expression [-Woverflow]
#define inf (1<<31)-1
~~~~~~~^~
main.cpp:79:14: note: in expansion of macro 'inf'
D[i]=inf;
^~~
main.cpp: In function 'void afisare()':
main.cpp:6:20: warning: integer overflow in expression [-Woverflow]
#define inf (1<<31)-1
~~~~~~~^~
main.cpp:110:18: note: in expansion of macro 'inf'
if(D[i]!=inf)
^~~
main.cpp: In member function 'void InParser::next()':
main.cpp:27: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,lim,stdin);
^
main.cpp: In function 'void citire()':
main.cpp:45:9: warning: 'sign' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(sign=='-')
^~
main.cpp:41:14: note: 'sign' was declared here
char sign;
^~~~
main.cpp:45:9: warning: 'sign' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(sign=='-')
^~
main.cpp:41:14: note: 'sign' was declared here
char sign;
^~~~
main.cpp:45:9: warning: 'sign' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(sign=='-')
^~
main.cpp:41:14: note: 'sign' was declared here
char sign;
^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 1441kb | OK | 10 |
2 | 5ms | 1441kb | OK | 10 |
3 | 5ms | 1441kb | OK | 10 |
4 | 6ms | 1441kb | OK | 10 |
5 | 16ms | 1966kb | OK | 10 |
6 | 28ms | 2359kb | OK | 10 |
7 | 38ms | 2621kb | OK | 10 |
8 | 73ms | 4050kb | OK | 10 |
9 | 67ms | 3932kb | OK | 10 |
10 | 148ms | 6029kb | OK | 10 |
Punctaj total | 100 |