Pagini recente » Borderou de evaluare (job #2653169) | Borderou de evaluare (job #820634) | Borderou de evaluare (job #2907759) | Borderou de evaluare (job #1906499) | Borderou de evaluare (job #1616374)
Borderou de evaluare (job #1616374)
Raport evaluator
Compilare:
user.cpp: In function ‘int pow(int)’:
user.cpp:8:9: warning: variable ‘produs’ set but not used [-Wunused-but-set-variable]
int produs;
^
user.cpp: In function ‘int main()’:
user.cpp:23:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d",&x);
^
user.cpp:24:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d",&p);
^
user.cpp:25:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d",&c);
^
user.cpp:26:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout,"%d",pow(p)%c);
^
user.cpp: In function ‘int pow(int)’:
user.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:23:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&x);
^
user.cpp:24:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&p);
^
user.cpp:25:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 192kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 196kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 192kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 192kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 196kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 196kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 192kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 196kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 192kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 192kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |