Pagini recente » Rating Batori Luca (LucaB26) | Cod sursa (job #2034419) | Autentificare | Borderou de evaluare (job #2656101) | Borderou de evaluare (job #1579310)
Borderou de evaluare (job #1579310)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for (int i=1;i<=k;i++) scanf("%d %d",&t[i].x,&t[i].y);
^
user.cpp:25:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:22:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sant.in","r",stdin);
^
user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sant.out","w",stdout);
^
user.cpp:24:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&m,&n,&k);
^
user.cpp:25:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=k;i++) scanf("%d %d",&t[i].x,&t[i].y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 312kb | OK | 10 |
| 2 | 0ms | 296kb | OK | 10 |
| 3 | 0ms | 324kb | OK | 10 |
| 4 | 0ms | 360kb | OK | 10 |
| 5 | 0ms | 528kb | OK | 10 |
| 6 | 0ms | 704kb | OK | 10 |
| 7 | 0ms | 788kb | OK | 10 |
| 8 | 0ms | 964kb | OK | 10 |
| 9 | 4ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 0ms | 300kb | OK | 10 |
| Punctaj total | 90 |