Pagini recente » Borderou de evaluare (job #546064) | Borderou de evaluare (job #1121552) | Borderou de evaluare (job #2046784) | Borderou de evaluare (job #1960758) | Borderou de evaluare (job #1797321)
Borderou de evaluare (job #1797321)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[105]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:34:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp:35: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:36: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:37: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 | 268kb | Gresit! | 0 |
3 | 0ms | 272kb | Gresit! | 0 |
4 | 0ms | 268kb | Gresit! | 0 |
5 | 0ms | 268kb | Gresit! | 0 |
6 | 0ms | 272kb | Gresit! | 0 |
7 | 0ms | 272kb | Gresit! | 0 |
8 | 0ms | 268kb | Gresit! | 0 |
9 | 0ms | 272kb | Gresit! | 0 |
10 | 0ms | 268kb | Gresit! | 0 |
Punctaj total | 10 |