Pagini recente » Borderou de evaluare (job #549331) | Borderou de evaluare (job #972350) | Borderou de evaluare (job #788634) | Borderou de evaluare (job #1266730)
Borderou de evaluare (job #1266730)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:13:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000005]’ [-Wformat=]
scanf("%s",&c);
^
user.cpp: In function ‘int main()’:
user.cpp:31:18: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000005]’ [-Wformat=]
scanf("%c",&c);
^
user.cpp: In function ‘void solve()’:
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&c);
^
user.cpp: In function ‘int main()’:
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.in","r",stdin);
^
user.cpp:28:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.out","w",stdout);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 468kb | OK | 10 |
7 | 0ms | 420kb | OK | 10 |
8 | 28ms | 2172kb | OK | 10 |
9 | 24ms | 3036kb | OK | 10 |
10 | 28ms | 2248kb | OK | 10 |
Punctaj total | 100 |