Pagini recente » Borderou de evaluare (job #1158380) | Cod sursa (job #1086901) | Borderou de evaluare (job #2068712) | Borderou de evaluare (job #2717914) | Borderou de evaluare (job #1520694)
Borderou de evaluare (job #1520694)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:35: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[10010]’ [-Wformat=]
scanf("%d%d\n%s%s",&n,&l,&b,&s);
^
user.cpp:20:35: warning: format ‘%s’ expects argument of type ‘char*’, but argument 5 has type ‘char (*)[10010]’ [-Wformat=]
user.cpp:23:9: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
b[0]=NULL;
^
user.cpp:26:9: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[0]=NULL;
^
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potrivire.in","r",stdin);
^
user.cpp:18:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potrivire.out","w",stdout);
^
user.cpp:20:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n%s%s",&n,&l,&b,&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 288kb | Incorect | 0 | 0 |
| 2 | 0ms | 284kb | OK | 10 | 10 |
| 3 | 0ms | 288kb | OK | 10 | 10 |
| 4 | 0ms | 288kb | OK | 10 | 10 |
| 5 | 0ms | 304kb | OK | 10 | 60 |
| 6 | 0ms | 308kb | OK | 10 |
| 7 | 0ms | 300kb | OK | 10 |
| 8 | 0ms | 300kb | OK | 10 |
| 9 | 0ms | 296kb | OK | 10 |
| 10 | 0ms | 296kb | OK | 10 |
| Punctaj total | 90 |