Pagini recente » Borderou de evaluare (job #2021541) | Borderou de evaluare (job #2178721) | Borderou de evaluare (job #2847650) | Borderou de evaluare (job #440103) | Borderou de evaluare (job #2011961)
Borderou de evaluare (job #2011961)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000005]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:10:10: warning: unused variable ‘ch’ [-Wunused-variable]
char ch;
^
user.cpp:11:18: warning: unused variable ‘nr’ [-Wunused-variable]
int n, m, i, nr, top = -1;
^
user.cpp:12: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:13: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:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
user.cpp:15:20: 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 | 0ms | 264kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 268kb | OK | 10 |
6 | 0ms | 404kb | OK | 10 |
7 | 0ms | 380kb | OK | 10 |
8 | 16ms | 1772kb | OK | 10 |
9 | 12ms | 2152kb | OK | 10 |
10 | 16ms | 1832kb | OK | 10 |
Punctaj total | 100 |