Borderou de evaluare (job #1566504)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:14: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[41]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:51:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsiruri2.in","r",stdin);
^
user.cpp:52:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsiruri2.out","w",stdout);
^
user.cpp:53:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:54:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
user.cpp:55:15: 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 | Depăşit | 244kb | Time limit exceeded. | 0 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | Depăşit | 248kb | Time limit exceeded. | 0 |
5 | Depăşit | 240kb | Time limit exceeded. | 0 |
6 | Depăşit | 244kb | Time limit exceeded. | 0 |
7 | Depăşit | 240kb | Time limit exceeded. | 0 |
8 | Depăşit | 240kb | Time limit exceeded. | 0 |
9 | Depăşit | 248kb | Time limit exceeded. | 0 |
10 | Depăşit | 244kb | Time limit exceeded. | 0 |
Punctaj total | 20 |