Pagini recente » Borderou de evaluare (job #650261) | Borderou de evaluare (job #2663712) | Borderou de evaluare (job #1275109) | Borderou de evaluare (job #2593370) | Borderou de evaluare (job #1531506)
Borderou de evaluare (job #1531506)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:33:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&suma);
^
user.cpp:37:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp: In function ‘long long int cautbin(long long int, long long int)’:
user.cpp:26:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:31:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.in","r",stdin);
^
user.cpp:32:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:33:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&suma);
^
user.cpp:37:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 448kb | OK | 10 |
✓ | 2 | 0ms | 444kb | OK | 10 |
✓ | 3 | 0ms | 456kb | OK | 10 |
✓ | 4 | 0ms | 448kb | OK | 10 |
✓ | 5 | 0ms | 480kb | Incorect | 0 |
✓ | 6 | 0ms | 484kb | Incorect | 0 |
✓ | 7 | 16ms | 760kb | Incorect | 0 |
✓ | 8 | 16ms | 760kb | Incorect | 0 |
✓ | 9 | 36ms | 1148kb | Incorect | 0 |
✓ | 10 | 40ms | 1144kb | Incorect | 0 |
Punctaj total | 40 |