Pagini recente » Borderou de evaluare (job #488890) | Borderou de evaluare (job #2949222) | Borderou de evaluare (job #335547) | Borderou de evaluare (job #3169982) | Borderou de evaluare (job #1705603)
Borderou de evaluare (job #1705603)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &a, &b);
^
user.cpp:8:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:9:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", a + b);
^
user.cpp:5:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("adunare.in", "r", stdin);
^
user.cpp:6:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("adunare.out", "w", stdout);
^
user.cpp:8:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
7 | 0ms | 260kb | Okay! | 10 | 40 |
8 | 0ms | 256kb | Okay! | 10 |
9 | 0ms | 256kb | Okay! | 10 |
10 | 0ms | 260kb | Okay! | 10 |
1 | 0ms | 256kb | Okay! | 10 | 30 |
2 | 0ms | 256kb | Okay! | 10 |
3 | 0ms | 256kb | Okay! | 10 |
4 | 0ms | 256kb | Okay! | 10 | 30 |
5 | 0ms | 252kb | Okay! | 10 |
6 | 0ms | 260kb | Okay! | 10 |
Punctaj total | 100 |