Pagini recente » Cod sursa (job #1748337) | Cod sursa (job #105238) | Cod sursa (job #785082) | Cod sursa (job #2810767) | Borderou de evaluare (job #1458045)
Borderou de evaluare (job #1458045)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10005]’ [-Wformat=]
scanf("%s",&ch);
^
user.cpp:18:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir4.in","r",stdin);
^
user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir4.out","w",stdout);
^
user.cpp:20:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d\n",&x,&a,&b,&m,&q);
^
user.cpp:30:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&ch);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Incorect | 0 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 112ms | 276kb | OK | 10 |
5 | 200ms | 280kb | OK | 10 |
6 | Depăşit | 280kb | Time limit exceeded. | 0 |
7 | Depăşit | 280kb | Time limit exceeded. | 0 |
8 | Depăşit | 288kb | Time limit exceeded. | 0 |
9 | Depăşit | 292kb | Time limit exceeded. | 0 |
10 | Depăşit | 284kb | Time limit exceeded. | 0 |
Punctaj total | 40 |