Pagini recente » Borderou de evaluare (job #2305425) | Borderou de evaluare (job #1112920) | Borderou de evaluare (job #1231473)
Borderou de evaluare (job #1231473)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:73:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(infile,"%d",&bit);
^
user.cpp:78:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=]
fscanf(infile,"%d%d",day,ammount);
^
user.cpp:78:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int’ [-Wformat=]
user.cpp:86:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=]
fscanf(infile,"%d%d",dayFrom,toDay);
^
user.cpp:86:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int’ [-Wformat=]
user.cpp:51:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(infile,"%d",&n);
^
user.cpp:52:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(infile,"%d",&m);
^
user.cpp:64:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(infile,"%d",&index);
^
user.cpp:73:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(infile,"%d",&bit);
^
user.cpp:78:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(infile,"%d%d",day,ammount);
^
user.cpp:86:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(infile,"%d%d",dayFrom,toDay);
^
user.cpp:78:45: warning: ‘day’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fscanf(infile,"%d%d",day,ammount);
^
user.cpp:78:45: warning: ‘ammount’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:86:47: warning: ‘dayFrom’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fscanf(infile,"%d%d",dayFrom,toDay);
^
user.cpp:86:47: warning: ‘toDay’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 456kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 4ms | 456kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 4ms | 456kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 4ms | 452kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 4ms | 456kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |