Pagini recente » Borderou de evaluare (job #1243054) | Borderou de evaluare (job #2486743) | Profil dawid_asdf | Profil val19991 | Borderou de evaluare (job #1237369)
Borderou de evaluare (job #1237369)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&a,&b);
^
user.cpp:7:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:14:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d\n",((a==1)?0:a));
^
user.cpp:6:10: warning: unused variable ‘n’ [-Wunused-variable]
long n,a,b,aux;
^
user.cpp:7:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&a,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OKAY! | 10 |
| 2 | 0ms | 252kb | OKAY! | 10 |
| 3 | 0ms | 252kb | OKAY! | 10 |
| 4 | 0ms | 252kb | OKAY! | 10 |
| 5 | 0ms | 256kb | OKAY! | 10 |
| 6 | 0ms | 256kb | OKAY! | 10 |
| 7 | 0ms | 252kb | OKAY! | 10 |
| 8 | 0ms | 256kb | OKAY! | 10 |
| 9 | 0ms | 248kb | OKAY! | 10 |
| 10 | 0ms | 252kb | OKAY! | 10 |
| Punctaj total | 100 |