Pagini recente » Borderou de evaluare (job #2599483) | Borderou de evaluare (job #496993) | Borderou de evaluare (job #2970106) | Borderou de evaluare (job #2481981) | Borderou de evaluare (job #1679075)
Borderou de evaluare (job #1679075)
Raport evaluator
Compilare:
user.cpp: In function ‘void f()’:
user.cpp:7:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[110]’ [-Wformat=]
scanf("%s",&v);
^
user.cpp:6:16: warning: unused variable ‘i’ [-Wunused-variable]
{int n,x,s,i;
^
user.cpp:7:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&v);
^
user.cpp: In function ‘int main()’:
user.cpp:21:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen ("cifra.in","r",stdin);
^
user.cpp:22:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("cifra.out","w",stdout);
^
user.cpp:24:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK! | 10 |
2 | 0ms | 264kb | OK! | 10 |
3 | 0ms | 264kb | OK! | 10 |
4 | 0ms | 272kb | OK! | 10 |
5 | 0ms | 264kb | OK! | 10 |
6 | 0ms | 268kb | OK! | 10 |
7 | 0ms | 268kb | OK! | 10 |
8 | 4ms | 272kb | OK! | 10 |
9 | 12ms | 268kb | OK! | 10 |
10 | 20ms | 264kb | OK! | 10 |
Punctaj total | 100 |