Pagini recente » Borderou de evaluare (job #700080) | Borderou de evaluare (job #787569) | Borderou de evaluare (job #1739989) | Borderou de evaluare (job #2498958) | Borderou de evaluare (job #2470108)
Borderou de evaluare (job #2470108)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:46:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[u].size(); i++){
~^~~~~~~~~~~~
main.cpp:18:20: warning: unused variable 'u' [-Wunused-variable]
int n,i,nr,l,j,u,maxx=0,nn;
^
main.cpp:16:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("drum2.in", "r", stdin);
^
main.cpp:17:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("drum2.out", "w",stdout);
^
main.cpp:19:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:23:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &dist[i].cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 1048kb | OK | 10 |
2 | 6ms | 1048kb | OK | 10 |
3 | 7ms | 1179kb | OK | 10 |
4 | 8ms | 1179kb | OK | 10 |
5 | 8ms | 1179kb | OK | 10 |
6 | 9ms | 1179kb | OK | 10 |
7 | 9ms | 1310kb | OK | 10 |
8 | 10ms | 1310kb | OK | 10 |
9 | 11ms | 1310kb | OK | 10 |
10 | 4ms | 917kb | OK | 10 |
Punctaj total | 100 |