Pagini recente » Borderou de evaluare (job #1036823) | Borderou de evaluare (job #1898402) | Borderou de evaluare (job #1237602) | Borderou de evaluare (job #1341061) | Borderou de evaluare (job #1244708)
Borderou de evaluare (job #1244708)
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 | 788kb | OK | 5 | 15 |
2 | 0ms | 796kb | OK | 5 |
3 | 0ms | 796kb | OK | 5 |
4 | 0ms | 800kb | OK | 5 | 15 |
5 | 0ms | 808kb | OK | 5 |
6 | 0ms | 788kb | OK | 5 |
7 | 0ms | 804kb | OK | 5 | 15 |
8 | 0ms | 792kb | OK | 5 |
9 | 0ms | 820kb | OK | 5 |
10 | 0ms | 804kb | OK | 5 | 15 |
11 | 0ms | 792kb | OK | 5 |
12 | 24ms | 1636kb | OK | 5 |
13 | 96ms | 3136kb | OK | 5 | 20 |
14 | 16ms | 1408kb | OK | 5 |
15 | 4ms | 1100kb | OK | 5 |
16 | 4ms | 1064kb | OK | 5 |
17 | 68ms | 2520kb | OK | 5 | 20 |
18 | 24ms | 1620kb | OK | 5 |
19 | 8ms | 1180kb | OK | 5 |
20 | 44ms | 2068kb | OK | 5 |
Punctaj total | 100 |