Pagini recente » Cod sursa (job #36957) | popa | Borderou de evaluare (job #206287) | Borderou de evaluare (job #2056921) | Borderou de evaluare (job #1821267)
Borderou de evaluare (job #1821267)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100005]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calc.in","r",stdin);
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calc.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:15:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:27:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 428kb | OK | 5 |
| 2 | 0ms | 432kb | OK | 5 |
| 3 | 0ms | 436kb | OK | 5 |
| 4 | 0ms | 436kb | OK | 5 |
| 5 | 0ms | 416kb | OK | 5 |
| 6 | 0ms | 420kb | Incorect | 0 |
| 7 | 0ms | 424kb | OK | 5 |
| 8 | 0ms | 420kb | Incorect | 0 |
| 9 | 0ms | 424kb | Incorect | 0 |
| 10 | 0ms | 428kb | Incorect | 0 |
| 11 | 0ms | 428kb | Incorect | 0 |
| 12 | 0ms | 424kb | Incorect | 0 |
| 13 | 0ms | 432kb | Incorect | 0 |
| 14 | 0ms | 428kb | OK | 5 |
| 15 | 0ms | 424kb | Incorect | 0 |
| 16 | 0ms | 488kb | Incorect | 0 |
| 17 | 0ms | 484kb | Incorect | 0 |
| 18 | 0ms | 524kb | Incorect | 0 |
| 19 | 0ms | 584kb | Incorect | 0 |
| 20 | 0ms | 612kb | Incorect | 0 |
| Punctaj total | 35 |