Pagini recente » Borderou de evaluare (job #2318434) | Cod sursa (job #3000950) | Borderou de evaluare (job #1168393) | Borderou de evaluare (job #1137305) | Borderou de evaluare (job #1797929)
Borderou de evaluare (job #1797929)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1005]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:43:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pastila.in","r",stdin);
^
user.cpp:45:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pastila.out","w",stdout);
^
user.cpp:46:19: 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 | 288kb | OK! | 10 |
| 2 | 0ms | 284kb | Gresit! | 0 |
| 3 | 0ms | 288kb | Gresit! | 0 |
| 4 | 0ms | 280kb | Gresit! | 0 |
| 5 | 0ms | 284kb | Gresit! | 0 |
| 6 | 0ms | 284kb | Gresit! | 0 |
| 7 | 0ms | 288kb | Gresit! | 0 |
| 8 | 0ms | 284kb | Gresit! | 0 |
| 9 | 0ms | 284kb | Gresit! | 0 |
| 10 | 0ms | 284kb | Gresit! | 0 |
| Punctaj total | 10 |