Pagini recente » Cod sursa (job #2139379) | Monitorul de evaluare | Borderou de evaluare (job #2172515) | Borderou de evaluare (job #1276653) | Borderou de evaluare (job #1605329)
Borderou de evaluare (job #1605329)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[105]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:18:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifra.in","r",stdin);
^
user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifra.out","w",stdout);
^
user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:26:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK! | 10 |
| 2 | 0ms | 264kb | OK! | 10 |
| 3 | 0ms | 260kb | OK! | 10 |
| 4 | 0ms | 268kb | OK! | 10 |
| 5 | 0ms | 264kb | OK! | 10 |
| 6 | 0ms | 264kb | OK! | 10 |
| 7 | 0ms | 260kb | OK! | 10 |
| 8 | 4ms | 264kb | OK! | 10 |
| 9 | 8ms | 268kb | OK! | 10 |
| 10 | 24ms | 264kb | OK! | 10 |
| Punctaj total | 100 |