Pagini recente » Borderou de evaluare (job #1301063) | Borderou de evaluare (job #715470) | Cod sursa (job #288194) | Borderou de evaluare (job #356503) | Borderou de evaluare (job #2371199)
Borderou de evaluare (job #2371199)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra()':
main.cpp:32:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp:11:5: warning: unused variable 'j' [-Wunused-variable]
int j,i,x,y,z;
^
main.cpp:16:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&z);
^
main.cpp: In function 'int main()':
main.cpp:58:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("distante.in","r",stdin);
^
main.cpp:59:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("distante.out","w",stdout);
^
main.cpp:61:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
main.cpp:63:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&s);
^
main.cpp:64:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%d",&d2[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 5ms | 1572kb | OK | 10 | 10 |
2 | 17ms | 1703kb | OK | 10 | 10 |
3 | 18ms | 1703kb | OK | 10 | 10 |
4 | 48ms | 2097kb | OK | 10 | 10 |
5 | 72ms | 2228kb | OK | 10 | 10 |
6 | 152ms | 3276kb | OK | 10 | 10 |
7 | 176ms | 4456kb | OK | 10 | 40 |
8 | 84ms | 2359kb | OK | 10 |
9 | 181ms | 3145kb | OK | 10 |
10 | 164ms | 3407kb | OK | 10 |
Punctaj total | 100 |