Pagini recente » Borderou de evaluare (job #2446800) | Borderou de evaluare (job #732228) | Borderou de evaluare (job #1847646) | Borderou de evaluare (job #141638) | Borderou de evaluare (job #2675814)
Borderou de evaluare (job #2675814)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:25: warning: format '%c' expects argument of type 'char*', but argument 2 has type 'int*' [-Wformat=]
scanf("%c",&x[i]);
^
main.cpp:17:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.in","r",stdin);
^
main.cpp:18:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.out","w",stdout);
^
main.cpp:20:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&m);
^
main.cpp:23:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&x[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 12ms | 393kb | OK | 10 |
4 | 12ms | 393kb | OK | 10 |
5 | 13ms | 393kb | OK | 10 |
6 | 8ms | 262kb | OK | 10 |
7 | 12ms | 262kb | OK | 10 |
8 | 10ms | 262kb | OK | 10 |
9 | 17ms | 393kb | OK | 10 |
10 | 20ms | 393kb | OK | 10 |
Punctaj total | 100 |