Pagini recente » Borderou de evaluare (job #1578652) | Borderou de evaluare (job #709764) | Borderou de evaluare (job #349899) | Borderou de evaluare (job #3214932) | Borderou de evaluare (job #1797919)
Borderou de evaluare (job #1797919)
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 (*)[105]’ [-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 | 268kb | OK! | 10 |
2 | 0ms | 264kb | Gresit! | 0 |
3 | 0ms | 268kb | Gresit! | 0 |
4 | 0ms | 272kb | Gresit! | 0 |
5 | 0ms | 272kb | Gresit! | 0 |
6 | 0ms | 268kb | Gresit! | 0 |
7 | 0ms | 272kb | Gresit! | 0 |
8 | 0ms | 272kb | Gresit! | 0 |
9 | 0ms | 272kb | Gresit! | 0 |
10 | 0ms | 272kb | Gresit! | 0 |
Punctaj total | 10 |