Pagini recente » Borderou de evaluare (job #916053) | Borderou de evaluare (job #34081) | Borderou de evaluare (job #3206931) | Borderou de evaluare (job #1137793) | Borderou de evaluare (job #1612528)
Borderou de evaluare (job #1612528)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000010]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:36:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[30]’ [-Wformat=]
scanf("%s",&p);
^
user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dinti.in","r",stdin);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dinti.out","w",stdout);
^
user.cpp:9:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&n,&m,&l);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);
^
user.cpp:36:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 4ms | 376kb | OK | 10 |
4 | 24ms | 696kb | OK | 10 |
5 | 48ms | 1272kb | OK | 10 |
6 | 68ms | 2268kb | OK | 10 |
7 | 84ms | 3292kb | OK | 10 |
8 | 84ms | 3292kb | OK | 10 |
9 | 120ms | 5332kb | OK | 10 |
10 | 124ms | 5336kb | OK | 10 |
Punctaj total | 100 |