Pagini recente » Borderou de evaluare (job #861510) | Borderou de evaluare (job #287753) | Borderou de evaluare (job #2214265) | Borderou de evaluare (job #1167569) | Borderou de evaluare (job #1278905)
Borderou de evaluare (job #1278905)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:28: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[15]’ [-Wformat=]
scanf("%s", &a[i]+1);
^
user.cpp:36:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii.in", "r", stdin);
^
user.cpp:37:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii.out", "w", stdout);
^
user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:41:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &a[i]+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Incorect | 0 |
2 | 0ms | 252kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 260kb | Incorect | 0 |
5 | 8ms | 256kb | Incorect | 0 |
6 | 12ms | 252kb | Incorect | 0 |
7 | 60ms | 252kb | Incorect | 0 |
8 | 84ms | 256kb | Incorect | 0 |
9 | 76ms | 252kb | Incorect | 0 |
10 | 80ms | 260kb | Incorect | 0 |
Punctaj total | 0 |