Pagini recente » Borderou de evaluare (job #1609843) | Borderou de evaluare (job #2636095) | Borderou de evaluare (job #1293256) | Borderou de evaluare (job #183700) | Borderou de evaluare (job #1675946)
Borderou de evaluare (job #1675946)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:4:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
int main(){freopen("stirling.in", "r", stdin);freopen("stirling.out", "w", stdout);scanf("%d", &p);generare();for(int i = 0; i < p; i++){scanf("%d %d %d", &x, &n, &m);if(x == 1){printf("%d\n", sol1[n][m]);}else if(x == 2){printf("%d\n", sol2[n][m]);}}return 0;}
^
user.cpp:4:83: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
int main(){freopen("stirling.in", "r", stdin);freopen("stirling.out", "w", stdout);scanf("%d", &p);generare();for(int i = 0; i < p; i++){scanf("%d %d %d", &x, &n, &m);if(x == 1){printf("%d\n", sol1[n][m]);}else if(x == 2){printf("%d\n", sol2[n][m]);}}return 0;}
^
user.cpp:4:99: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int main(){freopen("stirling.in", "r", stdin);freopen("stirling.out", "w", stdout);scanf("%d", &p);generare();for(int i = 0; i < p; i++){scanf("%d %d %d", &x, &n, &m);if(x == 1){printf("%d\n", sol1[n][m]);}else if(x == 2){printf("%d\n", sol2[n][m]);}}return 0;}
^
user.cpp:4:167: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int main(){freopen("stirling.in", "r", stdin);freopen("stirling.out", "w", stdout);scanf("%d", &p);generare();for(int i = 0; i < p; i++){scanf("%d %d %d", &x, &n, &m);if(x == 1){printf("%d\n", sol1[n][m]);}else if(x == 2){printf("%d\n", sol2[n][m]);}}return 0;}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 596kb | OK | 10 |
| 2 | 0ms | 600kb | OK | 10 |
| 3 | 0ms | 600kb | OK | 10 |
| 4 | 0ms | 596kb | OK | 10 |
| 5 | 0ms | 596kb | OK | 10 |
| 6 | 0ms | 600kb | OK | 10 |
| 7 | 0ms | 600kb | OK | 10 |
| 8 | 0ms | 600kb | OK | 10 |
| 9 | 0ms | 604kb | OK | 10 |
| 10 | 0ms | 600kb | OK | 10 |
| Punctaj total | 100 |