Pagini recente » Borderou de evaluare (job #1790505) | Borderou de evaluare (job #815780) | Borderou de evaluare (job #158704) | Borderou de evaluare (job #1104540) | Borderou de evaluare (job #2087142)
Borderou de evaluare (job #2087142)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1002]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mapal.out","w",stdout);
^
user.cpp:21:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mapal.in","r",stdin);
^
user.cpp:23:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:25:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
user.cpp:29:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrl);
^
user.cpp:31:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:34:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrc);
^
user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK | 10 |
2 | 32ms | 4492kb | OK | 10 |
3 | 32ms | 4752kb | OK | 10 |
4 | 4ms | 1872kb | OK | 10 |
5 | 16ms | 3720kb | OK | 10 |
6 | 36ms | 4816kb | OK | 10 |
7 | 0ms | 920kb | OK | 10 |
8 | 44ms | 5196kb | OK | 10 |
9 | 36ms | 5192kb | OK | 10 |
10 | 40ms | 5196kb | OK | 10 |
Punctaj total | 100 |