Pagini recente » Borderou de evaluare (job #3287327) | Borderou de evaluare (job #2464190) | Borderou de evaluare (job #749447) | Borderou de evaluare (job #3181568) | Borderou de evaluare (job #1800785)
Borderou de evaluare (job #1800785)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:30: warning: writing into constant object (argument 3) [-Wformat=]
fscanf(fi,"%d","%d",&n,&m);
^
user.cpp:12:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘const char*’ [-Wformat=]
user.cpp:12:30: warning: too many arguments for format [-Wformat-extra-args]
user.cpp:19:34: warning: writing into constant object (argument 3) [-Wformat=]
fscanf(fi,"%d","%d",&x,&y);
^
user.cpp:19:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘const char*’ [-Wformat=]
user.cpp:19:34: warning: too many arguments for format [-Wformat-extra-args]
user.cpp:12:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d","%d",&n,&m);
^
user.cpp:15:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d",&v[i]);
^
user.cpp:19:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d","%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |