Pagini recente » Borderou de evaluare (job #2607254) | Borderou de evaluare (job #2765359) | Borderou de evaluare (job #3280343) | Borderou de evaluare (job #2187330) | Borderou de evaluare (job #611514)
Borderou de evaluare (job #611514)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Read()’:
user.cpp:52:29: error: ‘memset’ was not declared in this scope
memset (C, 0, sizeof (C));
^
user.cpp:53:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[105]’ [-Wformat=]
scanf ("%s", &C);
^
user.cpp:54:19: error: ‘strlen’ was not declared in this scope
S[0]=strlen (C);
^
user.cpp:50:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("risipa.in", "r", stdin);
^
user.cpp:53:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s", &C);
^
user.cpp:59:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &X, &Y);
^
user.cpp: In function ‘int main()’:
user.cpp:83:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("risipa.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 412kb | OK | 10 |
2 | 4ms | 440kb | OK | 10 |
3 | 4ms | 428kb | OK | 10 |
4 | 4ms | 436kb | OK | 10 |
5 | 4ms | 432kb | OK | 10 |
6 | 4ms | 440kb | OK | 10 |
7 | 4ms | 452kb | OK | 10 |
8 | 4ms | 440kb | OK | 10 |
9 | 4ms | 448kb | OK | 10 |
10 | 4ms | 452kb | OK | 10 |
Punctaj total | 0 |