Pagini recente » Borderou de evaluare (job #2923020) | Borderou de evaluare (job #250999) | Borderou de evaluare (job #1200282) | Borderou de evaluare (job #2661783) | Borderou de evaluare (job #2136796)
Borderou de evaluare (job #2136796)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:12: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
c[lg+1]=NULL;
^
user.cpp: In function ‘long long int rez(long long int, long long int)’:
user.cpp:46:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:54:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld %d",&lg,&q);
^
user.cpp:55:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(c+1,100012,f);
^
user.cpp:56:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(c+1,100012,f);
^
user.cpp:60:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&poz);
^
In file included from /usr/include/stdio.h:936:0,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:55:24:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:56:24:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 856kb | Fisier de iesire corupt | 0 |
2 | Depăşit | 816kb | Time limit exceeded. | 0 |
3 | Depăşit | 860kb | Time limit exceeded. | 0 |
4 | Depăşit | 876kb | Time limit exceeded. | 0 |
5 | Depăşit | 816kb | Time limit exceeded. | 0 |
6 | Depăşit | 816kb | Time limit exceeded. | 0 |
7 | Depăşit | 880kb | Time limit exceeded. | 0 |
8 | Depăşit | 876kb | Time limit exceeded. | 0 |
9 | 0ms | 820kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 876kb | Killed by signal 11(SIGSEGV). | 0 |
11 | 0ms | 876kb | Killed by signal 11(SIGSEGV). | 0 |
12 | 0ms | 816kb | Killed by signal 11(SIGSEGV). | 0 |
13 | 0ms | 864kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 0ms | 880kb | Killed by signal 11(SIGSEGV). | 0 |
15 | 0ms | 884kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 0ms | 896kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 0ms | 900kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 0ms | 908kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 0ms | 908kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |