Pagini recente » Borderou de evaluare (job #1383858) | Borderou de evaluare (job #1655298) | Borderou de evaluare (job #2965) | Borderou de evaluare (job #87661) | Borderou de evaluare (job #1658373)
Borderou de evaluare (job #1658373)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1005]’ [-Wformat=]
scanf("%s",&s[i]);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("electrica.in","r",stdin);
^
user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("electrica.out","w",stdout);
^
user.cpp:14:33: 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:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 284kb | OK | 10 | 20 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 512kb | OK | 10 | 10 |
4 | 0ms | 628kb | OK | 10 | 10 |
5 | 4ms | 2144kb | OK | 10 | 10 |
6 | 4ms | 2356kb | OK | 10 | 10 |
7 | 20ms | 5192kb | OK | 10 | 10 |
8 | 20ms | 5184kb | OK | 10 | 10 |
9 | 20ms | 5188kb | OK | 10 | 10 |
10 | 20ms | 5184kb | OK | 10 | 10 |
Punctaj total | 100 |