Pagini recente » Borderou de evaluare (job #525577) | Borderou de evaluare (job #2886043) | Borderou de evaluare (job #1753851) | Borderou de evaluare (job #3259940) | Borderou de evaluare (job #1056664)
Borderou de evaluare (job #1056664)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=]
fscanf(f,"%d\n",t);
^
user.cpp:42:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=]
fscanf(f,"%d%d\n",n,r);
^
user.cpp:42:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘int’ [-Wformat=]
user.cpp: In function ‘int rezultat(int, int)’:
user.cpp:29:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:39:23: warning: ‘t’ is used uninitialized in this function [-Wuninitialized]
fscanf(f,"%d\n",t);
^
user.cpp:42:31: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fscanf(f,"%d%d\n",n,r);
^
user.cpp:42:31: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 348kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |