Pagini recente » Borderou de evaluare (job #2036345) | Borderou de evaluare (job #588896) | Borderou de evaluare (job #1582388) | Borderou de evaluare (job #3325345) | Borderou de evaluare (job #1335049)
Borderou de evaluare (job #1335049)
Raport evaluator
Compilare:
user.cpp: In function ‘void print()’:
user.cpp:37:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::pair<int, int>’ [-Wformat=]
printf("%d %d ",*it);
^
user.cpp:37:32: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
user.cpp: In function ‘void read()’:
user.cpp:21:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.in","r",stdin);
^
user.cpp:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&M);
^
user.cpp:26:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&timp,&suma);
^
user.cpp: In function ‘void print()’:
user.cpp:33:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 16ms | 6336kb | OK! | 10 |
| 2 | 72ms | 6600kb | OK! | 10 |
| 3 | 208ms | 6600kb | OK! | 10 |
| 4 | 292ms | 6600kb | OK! | 10 |
| 5 | 512ms | 6864kb | OK! | 10 |
| 6 | 876ms | 7128kb | OK! | 10 |
| 7 | 1068ms | 7128kb | OK! | 10 |
| 8 | 1204ms | 7128kb | OK! | 10 |
| 9 | 1348ms | 7656kb | OK! | 10 |
| 10 | 1508ms | 7656kb | OK! | 10 |
| Punctaj total | 100 |