Pagini recente » Cod sursa (job #3188627) | Cod sursa (job #2931222) | Cod sursa (job #2505365) | Cod sursa (job #1967693) | Borderou de evaluare (job #1282783)
Borderou de evaluare (job #1282783)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:12: warning: unused variable ‘r’ [-Wunused-variable]
int a, b, r, f = 0, p, n;
^
user.cpp:9:15: warning: unused variable ‘f’ [-Wunused-variable]
int a, b, r, f = 0, p, n;
^
user.cpp:9:22: warning: unused variable ‘p’ [-Wunused-variable]
int a, b, r, f = 0, p, n;
^
user.cpp:9:25: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
int a, b, r, f = 0, p, n;
^
user.cpp:5:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmmdc.in", "r", stdin);
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmmdc.out", "w", stdout);
^
user.cpp:11:23: 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 |
1 | 0ms | 232kb | OKAY! | 10 |
2 | 0ms | 248kb | OKAY! | 10 |
3 | 0ms | 252kb | OKAY! | 10 |
4 | 0ms | 236kb | OKAY! | 10 |
5 | 0ms | 244kb | OKAY! | 10 |
6 | 0ms | 236kb | OKAY! | 10 |
7 | 0ms | 248kb | OKAY! | 10 |
8 | 0ms | 228kb | OKAY! | 10 |
9 | 0ms | 232kb | OKAY! | 10 |
10 | 0ms | 248kb | OKAY! | 10 |
Punctaj total | 100 |