Pagini recente » Borderou de evaluare (job #133440) | Borderou de evaluare (job #1735520) | Borderou de evaluare (job #2272860) | Borderou de evaluare (job #1668840) | Borderou de evaluare (job #1601704)
Borderou de evaluare (job #1601704)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:70:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(in,"%d %d",&n,&m);
^
user.cpp:70:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:73:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(in,"%d",&a[i]);
^
user.cpp:97:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
{fprintf(out,"%d",k);
^
user.cpp:70:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d %d",&n,&m);
^
user.cpp:73:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&a[i]);
^
user.cpp:94:5: warning: ‘mijl’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(k=mijl;k>=0;k--)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 352kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 352kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 356kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 356kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 352kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 356kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 352kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 356kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 360kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 352kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |