Pagini recente » Borderou de evaluare (job #741398) | Borderou de evaluare (job #2879443) | Borderou de evaluare (job #1732095) | Borderou de evaluare (job #718627) | Borderou de evaluare (job #1048786)
Borderou de evaluare (job #1048786)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fp, "%d", &n);
^
user.cpp:18:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int’ [-Wformat=]
fscanf(fp, "%d %d", a1, a2); //coordonatele primului punct citit cu ajutorul caruia se vor triangula celelalte puncte, 2 cate 2
^
user.cpp:18:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp:19:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int’ [-Wformat=]
fscanf(fp, "%d %d", b1, b2);
^
user.cpp:19:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp:20:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int’ [-Wformat=]
fscanf(fp, "%d %d", c1, c2);//citim coord. urm. 2 puncte pentru a putea permuta in aceleasi variabile in loc de a memora intr-o matrice
^
user.cpp:20:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp:35:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int’ [-Wformat=]
fscanf(fp, "%d %d", c1, c2);
^
user.cpp:35:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp:53:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d", rez);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |