Pagini recente » Borderou de evaluare (job #1558710) | Borderou de evaluare (job #1148456) | Autentificare | Borderou de evaluare (job #2227831) | Borderou de evaluare (job #1335047)
Borderou de evaluare (job #1335047)
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 | 68ms | 6600kb | OK! | 10 |
| 3 | 196ms | 6600kb | OK! | 10 |
| 4 | 252ms | 6600kb | OK! | 10 |
| 5 | 484ms | 6864kb | OK! | 10 |
| 6 | 864ms | 7128kb | OK! | 10 |
| 7 | 972ms | 7128kb | OK! | 10 |
| 8 | 1128ms | 7128kb | OK! | 10 |
| 9 | 1348ms | 7392kb | OK! | 10 |
| 10 | 1536ms | 7656kb | OK! | 10 |
| Punctaj total | 100 |