Pagini recente » Borderou de evaluare (job #2741886) | Borderou de evaluare (job #93674) | Borderou de evaluare (job #243540) | Borderou de evaluare (job #1543779) | Borderou de evaluare (job #1262680)
Borderou de evaluare (job #1262680)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d",&c[0]);
^
user.cpp:14:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("par.in","r",stdin);
^
user.cpp:15:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("par.out","w",stdout);
^
user.cpp:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&c[0]);
^
user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 20 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 | 10 |
4 | 0ms | 264kb | OK | 10 | 10 |
5 | 0ms | 264kb | OK | 10 | 10 |
6 | 0ms | 264kb | OK | 10 | 10 |
7 | 0ms | 260kb | OK | 10 | 10 |
8 | 0ms | 264kb | OK | 10 | 10 |
9 | 0ms | 264kb | OK | 10 | 10 |
10 | 0ms | 272kb | OK | 10 | 10 |
Punctaj total | 100 |