Pagini recente » Borderou de evaluare (job #1681349) | Borderou de evaluare (job #2240862) | Borderou de evaluare (job #2211060) | Borderou de evaluare (job #1563395) | Borderou de evaluare (job #1244701)
Borderou de evaluare (job #1244701)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(int)’:
user.cpp:26:21: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31)-1
^
user.cpp:41:36: note: in expansion of macro ‘INF’
for (int i=1;i<=N;i++) cost[i]=INF;
^
user.cpp: In function ‘int main()’:
user.cpp:65:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sate.in","r",stdin);
^
user.cpp:66:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sate.out","w",stdout);
^
user.cpp:67:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&N,&M,&nodS,&nodF);
^
user.cpp:70:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 800kb | OK | 5 | 15 |
2 | 0ms | 804kb | OK | 5 |
3 | 0ms | 804kb | OK | 5 |
4 | 0ms | 804kb | OK | 5 | 15 |
5 | 0ms | 824kb | OK | 5 |
6 | 0ms | 800kb | OK | 5 |
7 | 0ms | 812kb | OK | 5 | 15 |
8 | 0ms | 800kb | OK | 5 |
9 | 0ms | 836kb | OK | 5 |
10 | 0ms | 812kb | OK | 5 | 15 |
11 | 0ms | 796kb | OK | 5 |
12 | 24ms | 1652kb | OK | 5 |
13 | 92ms | 3144kb | OK | 5 | 20 |
14 | 16ms | 1420kb | OK | 5 |
15 | 4ms | 1112kb | OK | 5 |
16 | 4ms | 1068kb | OK | 5 |
17 | 72ms | 2864kb | OK | 5 | 20 |
18 | 24ms | 1620kb | OK | 5 |
19 | 8ms | 1188kb | OK | 5 |
20 | 44ms | 2096kb | OK | 5 |
Punctaj total | 100 |