Pagini recente » Borderou de evaluare (job #2800636) | Borderou de evaluare (job #712837) | Borderou de evaluare (job #1993524) | Borderou de evaluare (job #317402) | Borderou de evaluare (job #2260169)
Borderou de evaluare (job #2260169)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:49:44: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
for(k=1;k<=m;k++) { scanf("%d %d",&i,&j);
^
main.cpp:49:44: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:44:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("coprime.in","r",stdin);
^
main.cpp:45:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("coprime.out","w",stdout);
^
main.cpp:47:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
main.cpp:49:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(k=1;k<=m;k++) { scanf("%d %d",&i,&j);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 5ms | 262kb | OK! | 10 |
| 2 | 5ms | 262kb | OK! | 10 |
| 3 | 5ms | 262kb | OK! | 10 |
| 4 | 5ms | 262kb | OK! | 10 |
| 5 | 5ms | 262kb | OK! | 10 |
| 6 | 6ms | 262kb | OK! | 10 |
| 7 | 6ms | 262kb | OK! | 10 |
| 8 | 5ms | 262kb | OK! | 10 |
| 9 | 6ms | 262kb | OK! | 10 |
| 10 | 6ms | 262kb | OK! | 10 |
| Punctaj total | 100 |