Pagini recente » Borderou de evaluare (job #2521514) | Borderou de evaluare (job #2989924) | Borderou de evaluare (job #1230602) | Cod sursa (job #989176) | Borderou de evaluare (job #1955238)
Borderou de evaluare (job #1955238)
Raport evaluator
Compilare:
user.cpp: In function ‘util check(int)’:
user.cpp:31:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(r + pas < fib.size() && fib[r + pas] <= a)
^
user.cpp: In function ‘int main()’:
user.cpp:18:25: warning: integer overflow in expression [-Woverflow]
#define MAX 100000000 * 100000000
^
user.cpp:75:34: note: in expansion of macro ‘MAX’
while(fib[fib.size() - 1] <= MAX) {
^
user.cpp:72:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &q);
^
user.cpp:81:66: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%lld", &n), nrt = 0, memset(d, 0, sizeof(d));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | Correct! | 10 |
| 2 | 64ms | 276kb | Correct! | 10 |
| 3 | 64ms | 276kb | Correct! | 10 |
| 4 | 104ms | 268kb | Correct! | 10 |
| 5 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 272kb | Correct! | 10 |
| Punctaj total | 50 |