Pagini recente » Borderou de evaluare (job #2467824) | Borderou de evaluare (job #1039210) | Borderou de evaluare (job #1912361) | Cod sursa (job #196378) | Borderou de evaluare (job #1727919)
Borderou de evaluare (job #1727919)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:39: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[50]’ [-Wformat=]
scanf("%d %d %s" , &p , &n , &alph);
^
user.cpp:31:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[50]’ [-Wformat=]
scanf("%s" , &cuv);
^
user.cpp:45:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=]
printf("%d" , &nr);
^
user.cpp:22:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in" , "r" , stdin);
^
user.cpp:23:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out" , "w" , stdout);
^
user.cpp:25:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %s" , &p , &n , &alph);
^
user.cpp:31:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s" , &cuv);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 608kb | Incorect | 0 |
| 2 | 0ms | 1232kb | Incorect | 0 |
| 3 | 8ms | 1240kb | Incorect | 0 |
| 4 | 20ms | 1240kb | Incorect | 0 |
| 5 | 36ms | 1244kb | Incorect | 0 |
| 6 | 72ms | 1240kb | Incorect | 0 |
| 7 | 0ms | 592kb | OK | 5 |
| 8 | 0ms | 1224kb | OK | 5 |
| 9 | 0ms | 1240kb | OK | 5 |
| 10 | 4ms | 1236kb | OK | 5 |
| 11 | 8ms | 1232kb | OK | 5 |
| 12 | 12ms | 1236kb | OK | 5 |
| 13 | 20ms | 1236kb | OK | 5 |
| 14 | 44ms | 1240kb | OK | 5 |
| 15 | 52ms | 1232kb | OK | 5 |
| 16 | 76ms | 1240kb | OK | 5 |
| 17 | 100ms | 1232kb | OK | 5 |
| 18 | 124ms | 1236kb | OK | 5 |
| 19 | 152ms | 1236kb | OK | 5 |
| 20 | 192ms | 1236kb | OK | 5 |
| Punctaj total | 70 |