Pagini recente » Borderou de evaluare (job #2507310) | Borderou de evaluare (job #2247883) | Cod sursa (job #728771) | Borderou de evaluare (job #929042) | Borderou de evaluare (job #2247882)
Borderou de evaluare (job #2247882)
Raport evaluator
Compilare:
user.cpp: In function ‘bool check()’:
user.cpp:8:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(int i = 2; i <= 4 ; ++i)
^~~
user.cpp:11:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
return 1;
^~~~~~
user.cpp: In function ‘int main()’:
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bigfour.in", "r", stdin);
^
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bigfour.out", "w", stdout);
^
user.cpp:17:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:19:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d", &d, &a[1], &a[2], &a[3], &a[4]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1316kb | Incorect | 0 |
Punctaj total | 0 |