Pagini recente » Borderou de evaluare (job #1510047) | Borderou de evaluare (job #1719838) | Borderou de evaluare (job #1719839) | Cod sursa (job #2655865) | Borderou de evaluare (job #2664614)
Borderou de evaluare (job #2664614)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:16: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
fscanf(fin,"%d%d",&n,&p);
^
main.c:9:18: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=]
fscanf(fin,"%d%d",&n,&p);
^
main.c:24:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(fout,"%d\n",s);
^
main.c:9:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&p);
^~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 2ms | 131kb | OK | 10 |
| 6 | 2ms | 131kb | OK | 10 |
| 7 | 2ms | 131kb | OK | 10 |
| 8 | 2ms | 131kb | OK | 10 |
| 9 | 2ms | 131kb | OK | 10 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 100 |