Pagini recente » Cod sursa (job #253905) | Borderou de evaluare (job #1898804) | Borderou de evaluare (job #757678) | Borderou de evaluare (job #1141745) | Borderou de evaluare (job #1426433)
Borderou de evaluare (job #1426433)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(int*, long long unsigned int)’:
user.cpp:13:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i <= A[0] || t || B; t /= 10, B /= 10, ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:27:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in", "r", stdin);
^
user.cpp:28:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out", "w", stdout);
^
user.cpp:29:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:33:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &k);
^
/tmp/cc4lANSk.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 336kb | OK | 10 |
5 | 8ms | 444kb | OK | 10 |
6 | 32ms | 780kb | OK | 10 |
7 | 92ms | 1568kb | OK | 10 |
8 | 236ms | 3540kb | OK | 10 |
9 | 316ms | 4684kb | OK | 10 |
10 | 356ms | 5164kb | OK | 10 |
Punctaj total | 100 |