Pagini recente » Cod sursa (job #797548) | Cod sursa (job #395717) | Borderou de evaluare (job #1416114) | Cod sursa (job #52407) | Borderou de evaluare (job #1579317)
Borderou de evaluare (job #1579317)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d",&t[i].x,&t[i].y);
^
user.cpp:27:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:23: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:24: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:25: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:27:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&t[i].x,&t[i].y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 304kb | OK | 10 |
| 2 | 0ms | 296kb | OK | 10 |
| 3 | 0ms | 320kb | OK | 10 |
| 4 | 0ms | 344kb | OK | 10 |
| 5 | 0ms | 476kb | OK | 10 |
| 6 | 0ms | 608kb | OK | 10 |
| 7 | 0ms | 668kb | OK | 10 |
| 8 | 0ms | 800kb | OK | 10 |
| 9 | 4ms | 936kb | OK | 10 |
| 10 | 0ms | 300kb | OK | 10 |
| Punctaj total | 100 |