Pagini recente » Borderou de evaluare (job #2474169) | Borderou de evaluare (job #2079036) | Borderou de evaluare (job #2119179) | Borderou de evaluare (job #1667654) | Borderou de evaluare (job #1234614)
Borderou de evaluare (job #1234614)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS()’:
user.cpp:13:21: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31)-1
^
user.cpp:25:42: note: in expansion of macro ‘INF’
for (i=1;i<=N;i++) costX[i]=costY[i]=INF;
^
user.cpp: In function ‘int main()’:
user.cpp:57:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in","r",stdin);
^
user.cpp:58:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.out","w",stdout);
^
user.cpp:59: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:63:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 372kb | OK | 10 |
2 | 0ms | 380kb | OK | 10 |
3 | 0ms | 380kb | OK | 10 |
4 | Depăşit | 14060kb | Time limit exceeded. | 0 |
5 | 0ms | 384kb | OK | 10 |
6 | 16ms | 720kb | OK | 10 |
7 | 4ms | 480kb | OK | 10 |
8 | 12ms | 660kb | OK | 10 |
9 | 16ms | 724kb | OK | 10 |
10 | 12ms | 720kb | OK | 10 |
Punctaj total | 90 |